UBL-CR-597: A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory Name
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[UBL-CR-597]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory Name
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:ClassifiedTaxCategory/cbc:Name)UBL-CR-597 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 is advisory and recommends that a UBL invoice or credit note should not contain a cbc:Name inside cac:ClassifiedTaxCategory within any line item (cac:InvoiceLine or cac:CreditNoteLine). The test fails (and the warning is reported) when any cac:InvoiceLine/cac:Item/cac:ClassifiedTaxCategory/cbc:Name or cac:CreditNoteLine/cac:Item/cac:ClassifiedTaxCategory/cbc:Name element is present.
How to fix
Remove the cbc:Name element from cac:ClassifiedTaxCategory under each cac:Item in all cac:InvoiceLine and cac:CreditNoteLine elements. Ensure the generating system does not emit this element for those line item tax categories.
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-597.
Validate an invoice against these rules · All release changes