BR-DEC: decimal places in amounts

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

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.

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