Counterfoil rule note

UBL-SR-43

Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.

Country
EU
Syntax
UBL
Severity
fatal
Last verified
2026-10-18

Official statement

Scheme identifier shall only be used for invoiced object (document type code with value 130 or 50)

Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/UBL-SR-43/

Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL

Severity note: fatal, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.

Plain-language reading

A scheme identifier shall be used only for an invoiced object, document type code 130 or 50. The statement has no period and says shall. It is 98 characters. The flag is fatal. The context is an additional document reference, the same string as UBL-SR-33. The published test does not call count. It writes DocumentTypeCode='130' and DocumentTypeCode='50' with no space around =. The credit-note comparison writes = with a space on each side.

What to change

Use a scheme identifier only when the document type code is 130 or 50.

Illustration

Illustration of the condition in the official statement. Not an example published by the source.

Fails the stated condition. A supporting document has a scheme identifier and some other document type code.

Passes the stated condition. The scheme identifier is absent, or the document type code is 130, or a credit note uses 50.

Published context and test

Copied from the source. Not reimplemented on this page.

cac:AdditionalDocumentReference
((cbc:DocumentTypeCode='130') or ((local-name(/*) = 'CreditNote') and (cbc:DocumentTypeCode='50')) or (not(cbc:ID/@schemeID) and not(cbc:DocumentTypeCode)))

All rule notes · JSON · Markdown · llms.txt · Invoice page · Privacy