VAT category tax amount is written with more than two decimal places
Reported asmore_than_two_decimalsmore than two decimal places
What is wrong
A cbc:TaxAmount in a VAT breakdown - BT-117, the VAT due for one category - carries more than two characters after its first full stop, and ZATCA flags it under EN 16931 rule BR-DEC-20 as a warning, which does not by itself reject the document. This is not the same element that BR-DEC-13 and BR-DEC-15 read, although the name is identical: this one sits inside a cac:TaxSubtotal, the per-category breakdown, while theirs is the direct child of the cac:TaxTotal and states the whole invoice's VAT. The rule counts the characters after the first full stop in the element's text rather than judging the value, so a third digit fails even when it is a nought, and a value written with no full stop at all passes however large it is. An absent or empty element passes as well. Its sibling in the same breakdown, the category taxable amount BT-116, is checked by BR-DEC-19, so the two are commonly reported together.
What to check in your ERP
This figure is a rate applied to a taxable base, and fifteen per cent of an ordinary base is very often not a two-decimal number, so the rounding has to be deliberate. Round each category's VAT amount to two decimals, and then build the header total from those rounded figures rather than computing the header independently, because BR-CO-14 requires the invoice total VAT amount to equal the sum of these breakdown amounts. Check that a zero-rated or exempt category is writing an exact nought here rather than a computed value that happens to be very small, and check whether the taxable base beside it is itself carrying extra precision, because a percentage of a base that already has three decimals cannot come out at two. Where the breakdown comes from a tax engine, confirm that the engine rounds per category and per invoice rather than per line and then aggregating unrounded results.