BR-CO-18

An Invoice shall at least have one VAT breakdown group (BG-23).

error: the document is invalid Peppol documentation ↗

Why it fails

  • The VAT total has no breakdown: cac:TaxTotal holds only a cbc:TaxAmount without cac:TaxSubtotal (ram:ApplicableTradeTax in the CII settlement).

How to fix it

Add a cac:TaxSubtotal per VAT category and rate, with its taxable amount, VAT amount, category and rate. An invoice without VAT still needs one, with category O, E or Z and a VAT amount of 0.

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
//ram:IncludedSupplyChainTradeLineItem
Test
//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax

Checked with EN 16931 Invoice (CII)

Context
//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement
Test
ram:ApplicableTradeTax

Checked with France Factur-X BASIC WL, Factur-X / ZUGFeRD BASIC WL