UBL-CR-639: A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge AccountingCost
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-CR-639]-A UBL invoice should not include the InvoiceLine Item Price AllowanceCharge AccountingCost
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Price/cac:AllowanceCharge/cbc:AccountingCost)UBL-CR-639 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 advises that a UBL invoice or credit note should not contain a cbc:AccountingCost element inside the line-level price allowance charge (cac:Price/cac:AllowanceCharge). A warning is reported when any cac:InvoiceLine or cac:CreditNoteLine has such an element.
How to fix
Remove the cbc:AccountingCost element from cac:Price/cac:AllowanceCharge within every cac:InvoiceLine or cac:CreditNoteLine. If the invoice is generated by a system, adjust the mapping or template so that this element is not emitted.
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-639.
Validate an invoice against these rules · All release changes