Tax-inclusive total is written with more than two decimal places
Reported asmore_than_two_decimalsmore than two decimal places
What is wrong
The cbc:TaxInclusiveAmount in the document totals block - BT-112, the invoice total including VAT - carries more than two characters after its first full stop, and ZATCA flags it under EN 16931 rule BR-DEC-14 as a warning, which does not by itself reject the document. 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. This total is not a figure of its own: BR-CO-15 requires it to be the tax-exclusive total plus the invoice total VAT amount, so it inherits whatever precision those two carry. It is also the figure the QR code's fourth field states, and the one the payable amount is derived from, which is why a fraction here tends to appear again further down the document.
What to check in your ERP
Do not format this element on its own. It is a sum of two numbers, so if it prints three decimals then at least one of its inputs does too, and rounding only the printed copy will put it a fraction away from that sum and draw BR-CO-15 instead of this. Round the tax-exclusive total and each VAT amount to two decimals first, add the rounded figures, and let this element be their sum. Where the difference is genuinely a rounding one - cash collection to a whole riyal, for instance - the element for it is cbc:PayableRoundingAmount further down the same block, applied to the payable amount and not to this one.