BR-AG-01fatal

How to fix BR-AG-01

An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IPSI" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IPSI".

What this rule checks

If any line, allowance, or charge uses VAT category M (IPSI), the VAT breakdown must contain at least one cac:TaxSubtotal with cbc:ID = 'M'.

Referenced business terms

This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.

How to fix it

Add a cac:TaxSubtotal inside cac:TaxTotal with cac:TaxCategory/cbc:ID set to 'M' for each distinct IPSI rate used.

Related rules

Validate your invoice

Upload your corrected invoice to check it passes BR-AG-01 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.