Prepaid amount is written with more than two decimal places
Reported asmore_than_two_decimalsmore than two decimal places
What is wrong
The cbc:PrepaidAmount in the document totals block - BT-113, the part of this invoice that has already been paid - carries more than two characters after its first full stop, and ZATCA flags it under EN 16931 rule BR-DEC-16 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, and an invoice with nothing paid in advance should simply omit the element rather than write a nought into it. This amount is subtracted from the total with VAT to give the amount due for payment, so a fraction here moves straight into BT-115 and will usually draw BR-DEC-18 in the same run.
What to check in your ERP
This is the one total that does not come from the invoice's own arithmetic, and that is what makes it different from its neighbours in the block: it is fetched from the receipts or the deposits side of the system, or from an advance invoice already issued, so it arrives with the precision that subsystem keeps rather than the precision the invoice writer uses. Look at the field it is read from - a payment gateway's settled amount, a customer deposit balance, or an allocation split across several invoices, where the split is the classic source of a repeating fraction. Where a prepayment covers more than one invoice, allocate rounded amounts that add up to the payment rather than dividing the payment and printing the quotient. If the prepayment was taken in another currency, round after converting, and make sure the converted figure is the one your ledger recognises, because BR-CO-16 will compare it against the payable amount.