All rules · pint-base · error

ibr-cl-01

The document type code must come from the UNCL1001 code list subset that Peppol permits.

Reviewed

Why this rule exists

The type code determines how the receiver processes the document. A code outside the permitted subset has no agreed meaning between the two parties.

Why it usually happens

How to fix it

Map your internal document types to UNCL1001 codes in one place, and fail loudly on an unmapped type.

Wrong
<cbc:InvoiceTypeCode>999</cbc:InvoiceTypeCode>
Right
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>

The official rule

The document type code (ibt-003) MUST be coded by the invoice and credit note related code lists of UNTDID 1001.

Verbatim from the published artefact. We execute the official Schematron unmodified, so this is exactly what an Access Point checks.

Schematron test

(self::cbc:InvoiceTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 80 82 84 380 383 386 388 393 395 575 623 780 71 102 218 219 331 382 480 553 817 870 875 876 877 ', concat(' ', normalize-space(.), ' '))))) or (self::cbc:CreditNoteTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 81 83 381 396 532 ', concat(' ', normalize-space(.), ' ')))))

Applied to nodes matching cbc:InvoiceTypeCode | cbc:CreditNoteTypeCode

Rule-pack versions

This rule changed between versions. If your invoices passed under an older pack and now fail, this is why.
Rule-packLayerSeverityApplies to
pint-om-1.0.1pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-ae-2026.5pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-eu-1.1.1pint-baseerrorbilling/creditnote, billing/invoice
pint-ae-2026.3pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice
pint-om-1.0.0pint-baseerrorbilling/creditnote, billing/invoice, self-billing/creditnote, self-billing/invoice

Related rules

ibr-191-ae · ibr-158-ae

Check your own invoice

Paste your XML and see every rule that fires, not just this one. Free, no sign-up, and we never store the document.

Open the validator