Peppol BIS Billing 3.0.21 · UBL

UBL-CR-556: A UBL invoice should not include the InvoiceLine AllowanceCharge AccountingCost

Peppol BIS Billing 3.0.21 · UBL

warningschema

Original rule text

[UBL-CR-556]-A UBL invoice should not include the InvoiceLine AllowanceCharge AccountingCost

Stored validation assertion
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:AllowanceCharge/cbc:AccountingCost)

UBL-CR-556 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

For a UBL Invoice or CreditNote, no cac:InvoiceLine or cac:CreditNoteLine may contain a cac:AllowanceCharge/cbc:AccountingCost. The test not((cac:InvoiceLine|cac:CreditNoteLine)/cac:AllowanceCharge/cbc:AccountingCost) means that if any such AccountingCost exists, the rule is reported. This is a warning, so the document is not rejected, but the validator advises against including line-level allowance/charge accounting cost.

How to fix

Remove the cbc:AccountingCost element from any cac:AllowanceCharge inside a cac:InvoiceLine or cac:CreditNoteLine. If the producing system generates line-level allowance/charge accounting cost, configure it to omit that element for invoice and credit note lines.

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-556.

Validate an invoice against these rules · All release changes