Peppol BIS Billing 3.0.20 · UBL

UBL-CR-517: A UBL invoice should not include the InvoiceLine AccountingCostCode

Peppol BIS Billing 3.0.20 · UBL

warningschema

Original rule text

[UBL-CR-517]-A UBL invoice should not include the InvoiceLine AccountingCostCode

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

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

In UBL, the rule checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cbc:AccountingCostCode. If any line includes this element, the validator reports a warning. The invoice or credit note is not rejected, but the rule advises against including AccountingCostCode at line level.

How to fix

Remove the cbc:AccountingCostCode element from each cac:InvoiceLine or cac:CreditNoteLine in the document. Keep line-level accounting information in another supported location if needed, but this rule only shows that the line-level AccountingCostCode should not be present.

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

Validate an invoice against these rules · All release changes