BR-KSA-EN16931-11
Rule BR-KSA-EN16931-11 in Saudi e-invoicing
Line net = quantity × (net price ÷ base quantity) + line charges − line allowances.
It ties quantity and price to the line net, so a correct net alone is not enough. The line net is derived from this equation, not entered freely.
The XML standard does not say which rules are errors and which are warnings; this classification is not confirmed by an official document.
| Identifier | BR-KSA-EN16931-11 |
|---|---|
| Effect | Error: the document is rejected |
| Applies to | Standard tax invoice and Simplified tax invoice |
In JooDax
BuiltQuantity 1 and price equal to the net make the equation always hold.
crates/jdx-einvoice-sa/src/xml.rs
Fields it checks
Other rules on the same fields
- BR-KSA-51 · The line amount with VAT equals the line net amount plus the line VAT.
- BR-KSA-82 · On a prepayment settlement line the principal line amounts are zero.
- BR-KSA-EN16931-07 · When a gross price is given, the net price equals gross price minus price discount.
- BR-KSA-F-04 · All amounts and quantities must be positive.
Validation rules — E-invoicing in Saudi Arabia (FATOORA)
Sources
- Electronic Invoice XML Implementation Standard to the E-Invoicing resolution dated 2023-05-19 (v1.2) — ZATCA
Checked on: 4 November 2026. What concerns JooDax is taken from the programs’ own code.