UBL-CR-632: A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge ID
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-CR-632]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge ID
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cac:AllowanceCharge/cbc:ID)UBL-CR-632 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 states that a UBL invoice or credit note should not include the InvoiceLine Item Price AllowanceCharge ID. The test checks that for every cac:InvoiceLine or cac:CreditNoteLine, there is no cac:Price/cac:AllowanceCharge/cbc:ID element present. This is a warning, so the document is not rejected, but the validator reports it as advisory and recommends removing the ID.
How to fix
Remove the cbc:ID element from any cac:AllowanceCharge inside cac:Price on each cac:InvoiceLine or cac:CreditNoteLine where it appears. Ensure the system that generates the invoice does not populate this ID for line-level price allowances or charges.
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-632.
Validate an invoice against these rules · All release changes