UBL-CR-552: A UBL invoice should not include the InvoiceLine AllowanceCharge ID
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-552]-A UBL invoice should not include the InvoiceLine AllowanceCharge ID
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:AllowanceCharge/cbc:ID)UBL-CR-552 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 warning rule applies to UBL invoices and credit notes. It requires that line-level allowance charges, i.e. cac:InvoiceLine/cac:AllowanceCharge or cac:CreditNoteLine/cac:AllowanceCharge, do not contain an cbc:ID element. The test is not(...), so if any such cbc:ID is present, the rule reports a warning. Because the severity is warning, the document is not rejected, but the rule recommends removing the ID.
How to fix
Remove the cbc:ID element from every cac:AllowanceCharge that is a child of cac:InvoiceLine or cac:CreditNoteLine. If your system generates this element automatically, configure it not to output line-level allowance charge IDs.
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-552.
Validate an invoice against these rules · All release changes