E-invoice rule Peppol BIS Billing 3.0
PEPPOL-EN16931-CL002: The reason code "…" is not in the UNCL 5189 code list
Paste your XML and see if it has this error
The check marks PEPPOL-EN16931-CL002 and lists every other finding too. It is free and runs in your browser, the file is never uploaded.
Example message from our sample invoice:
The reason code "…" is not in the UNCL 5189 code list.
What the rule says
Reason code MUST be according to subset of UNCL 5189 D.16B.
Source of the quotation: Peppol BIS Billing 3.0 (OpenPEPPOL, peppol-bis-invoice-3)
Why the validator reports it
The rule belongs to Peppol BIS Billing 3.0. Our checker runs it only when the value of cbc:CustomizationID (BT-24) starts with urn:cen.eu:en16931:2017#compliant#urn:fdc:peppol.eu:2017:poacc:billing:3.0.
Profile: Peppol BIS Billing 3.0
How we rate it: error
Where we point in the file: /Invoice/cac:AllowanceCharge[1]/cbc:AllowanceChargeReasonCode
How to fix it
- Open the XML file and find the element
cac:AllowanceCharge/cbc:AllowanceChargeReasonCode. - Add or correct the value the way the wording of the rule above asks for.
- Save the file and check it again. The checker runs in your browser, the file is never uploaded.
A correct UBL 2.1 snippet
<cac:AllowanceCharge
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
</cac:AllowanceCharge>
The snippet is only the part of the document the rule is about, and the values in it are made up. Put it in the right place inside your invoice; the namespaces are written here only so that the snippet reads on its own.
Check the whole file
The checker holds 332 rules. For each file it runs the ones that match the invoice profile and shows the rule code, a plain sentence and the path to the element for every finding. The file is read in your browser and never uploaded. Free, no account.
Related rules
Same group (PEPPOL-EN16931-CL, F)
- PEPPOL-EN16931-CL001 Peppol accepts application/pdf, image/png, image/jpeg, text/csv, xlsx…
- PEPPOL-EN16931-CL003 The reason code "…" is not in the UNCL 7161 code list
- PEPPOL-EN16931-CL006 The value added tax point date code (BT-8) has to be…
- PEPPOL-EN16931-CL007 The currencyID attribute of cbc:Amount has to be an ISO 4217 currency…
All rules in the group PEPPOL-EN16931-CL, F (7)
What our tool does about this error
The checker finds PEPPOL-EN16931-CL002 in your file and shows where it sits in the XML. If you build the invoice in our generator, the finished XML runs through the same checker before the download and will not download while an error remains.
The checker and the preview cost 0 € and need no account. Downloading the finished XML costs 2.90 € excl. VAT, unlocked in the browser for 24 hours, or 9.90 € excl. VAT for 30 days including the CSV batch.
This page in another language: Deutsch · Slovensky · Česky
Our check is not complete: we do not check the XSD schema and we do not implement every rule, and a file that passes says nothing about whether the buyer or the Peppol network will accept it. The source of each quoted wording is given next to the quotation.
Page content last changed: