Faktura

PEPPOL-EN16931-CL003

fatalPeppol BIS Billing 3.0profileCIIUBL

Reason code MUST be according to UNCL 7161 D.16B.

Why it fails

A charge reason code is not in UNCL 7161 D.16B.

How to fix it

Use a D.16B code — SAA shipping and handling, FC freight, PC packing, INS insurance, ABK miscellaneous, ADR other services. Or send only the reason text.

What the validator checks

CII — context ram:SpecifiedTradeAllowanceCharge[normalize-space(ram:ChargeIndicator/udt:Indicator) = 'true']/ram:ReasonCode

some $code in $UNCL7161 satisfies normalize-space(text()) = $code

UBL — context cac:AllowanceCharge[cbc:ChargeIndicator = 'true']/cbc:AllowanceChargeReasonCode

some $code in $UNCL7161 satisfies normalize-space(text()) = $code

Related rules

Part of PEPPOL-EN16931 — Peppol BIS Billing 3.0.

Validate an invoice against this rule →

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.