BR-31: Each document-level allowance needs an amount (BT-92)
Applies only when the document has a document-level cac:AllowanceCharge with cbc:ChargeIndicator = false (an allowance); each such element must contain cbc:Amount.
How to fix it
Add the allowance amount inside each document-level allowance, e.g. <cbc:Amount currencyID="SAR">10.00</cbc:Amount>.
ZATCA's official text
[BR-31]-Each Document level allowance (BG-20) shall have a Document level allowance amount (BT-92).
Source: ZATCA SDK 3.4.8 · EN 16931 (CEN) rules
Fails when (the condition ZATCA's SDK runs)
not(exists(cbc:Amount))
Related rules
- BR-32 · Each document-level allowance needs a VAT category code (BT-95)
- BR-CO-11 · Allowance total must equal the sum of document-level allowances
- BR-E-01 · Exempt (E) items need an 'E' VAT breakdown
- BR-E-06 · Exempt (E) document allowances must have a VAT rate of 0
- BR-E-08 · Exempt (E) taxable amount must match the exempt lines and adjustments
- BR-KSA-12 · 'Not subject to VAT' (O) allowances must have a VAT rate of 0 if given
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