Payable amount is written with more than two decimal places
Reported asmore_than_two_decimalsmore than two decimal places
What is wrong
The cbc:PayableAmount in the document totals block - BT-115, the amount the buyer actually has to pay - carries more than two characters after its first full stop, and ZATCA flags it under EN 16931 rule BR-DEC-18 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. Of the six amounts in this block, this is the one a human reads first and the one a payment is made against, so a fraction of a halalah in it is a practical problem as much as a validation one. BR-CO-16 requires it to be the total with VAT less the prepaid amount, plus the rounding amount where one is stated.
What to check in your ERP
Do not truncate this figure to make the rule pass, because BR-CO-16 checks the same number against its inputs and will report the difference. If the arithmetic genuinely produces a fraction, round the inputs - the tax-inclusive total and the prepaid amount - and let this be their difference. If the intention is to round what the customer pays, for instance to a whole riyal at a cash till, the standard provides an element for exactly that: put the difference in cbc:PayableRoundingAmount in this same block and let this element carry the rounded figure, which keeps the arithmetic rule satisfied and shows the reader where the adjustment came from. Check also for a payable amount taken from a payment request or a statement rather than from this invoice's own totals, since a figure with a different rounding history is the other common source.