UBL-CR-555: A UBL invoice should not include the InvoiceLine AllowanceCharge AccountingCostCode
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-555]-A UBL invoice should not include the InvoiceLine AllowanceCharge AccountingCostCode
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:AllowanceCharge/cbc:AccountingCostCode)UBL-CR-555 is a warning rule in the schema layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is flagged but not rejected.
What this rule requires
This rule is a warning. It checks that no cac:InvoiceLine or cac:CreditNoteLine contains an cac:AllowanceCharge with a cbc:AccountingCostCode. If such an element is present, the validator reports the warning, but the document is not rejected for this rule.
How to fix
Remove the cbc:AccountingCostCode element from any cac:AllowanceCharge under cac:InvoiceLine or cac:CreditNoteLine. If your system generates it, configure it not to output AccountingCostCode at line-level allowance/charge level.
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-555.
Validate an invoice against these rules · All release changes