Counterfoil rule note
Quoted from a public specification. This page is not a validator, and it is not tax, legal, or accounting advice.
A UBL invoice should not include the ReceiptDocumentReference DocumentTypeCode
Source: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-tc434/UBL-CR-065/
Peppol BIS Billing 3.0, May 2026 release, EN 16931 model bound to UBL
Severity note: warning, from the Flag column of the Peppol BIS Billing 3.0 UBL rules index retrieved 2026-10-18.
A UBL invoice should not include the ReceiptDocumentReference DocumentTypeCode. The statement says "should not include the ReceiptDocumentReference DocumentTypeCode", not "shall", and it has no period. The two names are separated by a space. The flag is warning. The context is the same string as BR-CO-18. The published test is not(cac:ReceiptDocumentReference/cbc:DocumentTypeCode). The path uses a slash. It does not call exists.
Leave ReceiptDocumentReference DocumentTypeCode out of the UBL invoice.
Illustration of the condition in the official statement. Not an example published by the source.
Fails the stated condition. The invoice includes ReceiptDocumentReference DocumentTypeCode.
Passes the stated condition. The invoice does not include ReceiptDocumentReference DocumentTypeCode.
Copied from the source. Not reimplemented on this page.
/ubl:Invoice | /cn:CreditNote
not(cac:ReceiptDocumentReference/cbc:DocumentTypeCode)
All rule notes · JSON · Markdown · llms.txt · Invoice page · Privacy