I attempted to submit an invoice, but encountered an Error related to rounding. Below are the details:
Before rounding:
- PriceAmount = 703,435.54
- TaxAmount = 105,515.331
- TaxInclusiveAmount = 808,950.871
After rounding down to two decimal:
- PriceAmount = 703,435.54
- TaxAmount = 105,515.33
- TaxInclusiveAmount = 808,950.87
Despite rounding as required, the system returned the following error:
[WARN] ValidationProcessorImpl
CODE: BR-S-09
MESSAGE: [BR-S-09] – The VAT category tax amount (BT-117) in a VAT breakdown (BG-23), where VAT category code (BT-118) is “Standard rated”, shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119) / 100, rounded to two decimals.
According to the ZATCA documentation Zatca I believe the values are correctly calculated and rounded.