Peppol BIS Billing 3.0.21 · UBL

UBL-SR-48: Invoice lines shall have one and only one classified tax category

Peppol BIS Billing 3.0.21 · UBL

fatalschema

Original rule text

[UBL-SR-48]-Invoice lines shall have one and only one classified tax category.

Stored validation assertion
count(cac:Item/cac:ClassifiedTaxCategory) = 1

UBL-SR-48 is a fatal rule in the schema layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.

What this rule requires

The rule requires that each invoice line or credit note line contain exactly one cac:Item/cac:ClassifiedTaxCategory element. The test counts these elements and requires the count to equal 1. A document fails when a line has zero or more than one such tax category.

How to fix

In each cac:InvoiceLine or cac:CreditNoteLine, ensure the cac:Item element contains exactly one cac:ClassifiedTaxCategory. Add a single classified tax category if none is present, or remove/consolidate duplicates so that exactly one remains.

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-SR-48.

Validate an invoice against these rules · All release changes