BR-Z-06: Zero-rated (Z) document allowance VAT rate must be 0

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

Error: the invoice is rejectedConditional, see belowFields: BG-20, BT-95, BT-96

Applies to each document-level allowance (cbc:ChargeIndicator false) with VAT category 'Z' (cac:AllowanceCharge/cac:TaxCategory). Its cbc:Percent must be exactly 0.

How to fix it

Set the rate in that tax category, e.g. <cbc:Percent>0</cbc:Percent>, or use the VAT category code that matches the rate.

ZATCA's official text

[BR-Z-06]-In a Document level allowance (BG-20) where the Document level allowance VAT category code (BT-95) is "Zero rated" the Document level allowance VAT rate (BT-96) shall be 0 (zero).
Source: ZATCA SDK 3.4.8 · EN 16931 (CEN) rules

Fails when (the condition ZATCA's SDK runs)

not((xs:decimal(cbc:Percent) = 0))

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