Peppol BIS Billing 3.0.20 · UBL

BR-CO-04: Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code…

Peppol BIS Billing 3.0.20 · UBL

fatalbusiness

Original rule text

[BR-CO-04]-Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151).

Stored validation assertion
(cac:Item/cac:ClassifiedTaxCategory[cac:TaxScheme/(normalize-space(upper-case(cbc:ID))='VAT')]/cbc:ID)

BR-CO-04 is a fatal rule in the business layer of Peppol BIS Billing 3.0.20 · UBL. An invoice that breaks it is rejected. It refers to BG-25, BT-151.

What this rule requires

This is a fatal XRechnung rule. It requires each invoice line (cac:InvoiceLine or cac:CreditNoteLine, described as BG-25) to be categorized with an Invoiced item VAT category code (BT-151). In UBL, the line must contain cac:Item/cac:ClassifiedTaxCategory where cac:TaxScheme/cbc:ID is VAT (case- and whitespace-insensitive) and that category must have a cbc:ID. A document fails when no such VAT-scheme category with a cbc:ID exists on a line. The CII equivalent uses ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax with ram:TypeCode equal to VAT and a ram:CategoryCode.

How to fix

In UBL, for each cac:InvoiceLine or cac:CreditNoteLine, add or correct cac:Item/cac:ClassifiedTaxCategory so that cac:TaxScheme/cbc:ID equals VAT and include cbc:ID with the applicable VAT category code. In CII, add or correct ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax with ram:TypeCode equal to VAT and include ram:CategoryCode. Use the VAT category code that applies to the line; if the source system does not provide one, check the accepted VAT category code list for XRechnung.

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 BR-CO-04.

Validate an invoice against these rules · All release changes