PEPPOL-EN16931-R100: Only one invoiced object is allowed pr line
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-EN16931-R100]-Only one invoiced object is allowed pr line
(count(cac:DocumentReference) <= 1)PEPPOL-EN16931-R100 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
Rule PEPPOL-EN16931-R100 requires that each cac:InvoiceLine or cac:CreditNoteLine contains no more than one cac:DocumentReference element (the 'invoiced object'). The test count(cac:DocumentReference) <= 1 passes with zero or one such reference and fails when there are two or more. Because severity is fatal, a line with multiple cac:DocumentReference elements causes the invoice to fail validation.
How to fix
In the affected cac:InvoiceLine or cac:CreditNoteLine, reduce the number of cac:DocumentReference elements to at most one. If multiple object references are needed, split them into separate lines or remove the extra references so that the count is 0 or 1.
Guidance on this rule. The original text above is authoritative.
Where to go next
No published Peppol BIS Billing UBL release comparison lists a change to PEPPOL-EN16931-R100.
Validate an invoice against these rules · All release changes