UBL-CR-551: A UBL invoice should not include the InvoiceLine PaymentTerms
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-CR-551]-A UBL invoice should not include the InvoiceLine PaymentTerms
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:PaymentTerms)UBL-CR-551 is a warning rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
The rule applies to UBL invoices and credit notes. It requires that no cac:PaymentTerms element appears inside any cac:InvoiceLine or cac:CreditNoteLine. The message states that an invoice should not include InvoiceLine PaymentTerms. This is a warning, so the validator reports it but the document is not rejected for this reason.
How to fix
Remove the cac:PaymentTerms element from each cac:InvoiceLine and cac:CreditNoteLine that contains it. If payment terms are needed, record them outside the line, because the rule only forbids line-level PaymentTerms.
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 UBL-CR-551.
Validate an invoice against these rules · All release changes