BR-CO-18: Every invoice needs at least one VAT breakdown

Explained by Matheel from ZATCA's rule text and the condition SDK 3.4.8 executes · Updated

Error: the invoice is rejectedAll invoicesFields: BG-23

The document must contain at least one cac:TaxTotal/cac:TaxSubtotal (VAT breakdown, BG-23).

How to fix it

Add a cac:TaxSubtotal (with cbc:TaxableAmount, cbc:TaxAmount and cac:TaxCategory) inside cac:TaxTotal for each VAT category used on the invoice.

ZATCA's official text

[BR-CO-18]-An Invoice shall at least have one VAT breakdown group (BG-23).
Source: ZATCA SDK 3.4.8 · EN 16931 (CEN) rules

Fails when (the condition ZATCA's SDK runs)

not(exists(cac:TaxTotal/cac:TaxSubtotal))

Related rules

Validate your invoice against ZATCA's rules

Paste the XML and see every error and warning. It runs in your browser; the invoice goes nowhere.

Validate an invoice or try Matheel