BR-DEC: decimal places in amounts
The BR-DEC rules cap the number of decimals for each amount on the invoice, mostly at 2. Round amounts to two decimals before writing the XML.
| Rule | Official text | Severity |
|---|---|---|
| BR-DEC-01 | The allowed maximum number of decimals for the Document level allowance amount (BT-92) is 2. | Warning |
| BR-DEC-02 | The allowed maximum number of decimals for the Document level allowance base amount (BT-93) is 2. | Warning |
| BR-DEC-05 | The allowed maximum number of decimals for the Document level charge amount (BT-99) is 2. | Warning |
| BR-DEC-06 | The allowed maximum number of decimals for the Document level charge base amount (BT-100) is 2. | Warning |
| BR-DEC-09 | The allowed maximum number of decimals for the Sum of Invoice line net amount (BT-106) is 2. | Warning |
| BR-DEC-10 | The allowed maximum number of decimals for the Sum of allowanced on document level (BT-107) is 2. | Warning |
| BR-DEC-11 | The allowed maximum number of decimals for the Sum of charges on document level (BT-108) is 2. | Warning |
| BR-DEC-12 | The allowed maximum number of decimals for the Invoice total amount without VAT (BT-109) is 2. | Warning |
| BR-DEC-13 | The allowed maximum number of decimals for the Invoice total VAT amount (BT-110) is 2. | Warning |
| BR-DEC-14 | The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2. | Warning |
| BR-DEC-15 | The allowed maximum number of decimals for the Invoice total VAT amount in accounting currency (BT-111) is 2. | Warning |
| BR-DEC-16 | The allowed maximum number of decimals for the Pre-Paid amount (BT-113) is 2. | Warning |
| BR-DEC-17 | The allowed maximum number of decimals for the Rounding amount (BT-114) is 2. | Warning |
| BR-DEC-18 | The allowed maximum number of decimals for the Amount due for payment (BT-115) is 2. | Warning |
| BR-DEC-19 | The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2. | Warning |
| BR-DEC-20 | The allowed maximum number of decimals for the VAT category tax amount (BT-117) is 2. | Warning |
| BR-DEC-23 | The allowed maximum number of decimals for the Invoice line net amount (BT-131) is 2. | Warning |
| BR-DEC-24 | The allowed maximum number of decimals for the Invoice line allowance amount (BT-136) is 2. | Warning |
| BR-DEC-25 | The allowed maximum number of decimals for the Invoice line allowance base amount (BT-137) is 2. | Warning |
| BR-DEC-27 | The allowed maximum number of decimals for the Invoice line charge amount (BT-141) is 2. | Warning |
| BR-DEC-28 | The allowed maximum number of decimals for the Invoice line charge base amount (BT-142) is 2. | Warning |
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