UBL-CR-599: A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory PerUnitAmount
Peppol BIS Billing 3.0.20 · UBL
Original rule text
[UBL-CR-599]-A UBL invoice should not include the InvoiceLine Item ClassifiedTaxCategory PerUnitAmount
not((cac:InvoiceLine|cac:CreditNoteLine)/cac:Item/cac:ClassifiedTaxCategory/cbc:PerUnitAmount)UBL-CR-599 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 a UBL invoice or credit note, the rule checks that no cac:InvoiceLine or cac:CreditNoteLine contains a cac:Item/cac:ClassifiedTaxCategory/cbc:PerUnitAmount element. Because this is a warning, a document that includes such an element is reported but not rejected; the rule advises that UBL invoices should not include the per-unit amount under the item's classified tax category.
How to fix
Remove the cbc:PerUnitAmount element from every cac:Item/cac:ClassifiedTaxCategory in all cac:InvoiceLine and cac:CreditNoteLine occurrences. The element must not be present at all, even if empty. If the invoicing system generates it automatically, change the mapping or configuration so that this field is not output.
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-599.
Validate an invoice against these rules · All release changes