PEPPOL-EN16931-R002: No more than one note is allowed on document level, unless both the buyer and seller are…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-EN16931-R002]-No more than one note is allowed on document level, unless both the buyer and seller are German organizations.
count(cbc:Note) <= 1 or ($supplierCountryIsDE and $customerCountryIsDE)PEPPOL-EN16931-R002 is a fatal rule in the format layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.
What this rule requires
The rule checks the number of cbc:Note elements on document level (direct children of ubl-invoice:Invoice or ubl-creditnote:CreditNote). It requires that either the count is at most one, or both the supplier country and customer country are identified as DE. A document fails when it has two or more cbc:Note elements and at least one of the two country codes is not DE.
How to fix
Reduce the number of document-level cbc:Note elements to at most one, or ensure that both the supplier and customer postal address country identification codes (cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode and cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode) are DE. If the extra notes are needed and both parties are German, set both country codes to DE; otherwise remove the extra notes.
Guidance on this rule. The original text above is authoritative.
Where to go next
PEPPOL-EN16931-R002 changed in 1 published Peppol BIS Billing UBL release comparison:
- PEPPOL-EN16931-R002 in 3.0.17 → 3.0.18: Test expression rewritten
Validate an invoice against these rules · All release changes