Tax-exclusive total is written with more than two decimal places
Reported asmore_than_two_decimalsmore than two decimal places
What is wrong
The cbc:TaxExclusiveAmount in the document totals block - BT-109, the invoice total before VAT - carries more than two characters after its first full stop, and ZATCA flags it under EN 16931 rule BR-DEC-12 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 figure matters more than the other totals because two things are built on it: BR-CO-13 requires it to be the line sum plus document charges less document allowances, and it is also the base the VAT is computed from, so a fraction that survives into it spreads into the VAT amounts and into the total with VAT and will draw further findings there.
What to check in your ERP
Round once, here, and do it before the VAT is calculated rather than after. The order that keeps every rule satisfied at the same time is: round each line net, sum the rounded line nets into BT-106, round each document allowance and charge, compute this total from those rounded figures, then compute VAT on this rounded base. A system that carries full precision all the way through and formats only at the end will produce a set of totals that are individually plausible and that fail both this rule and the arithmetic rules. Check as well for a tax-exclusive total taken from a different subsystem than the lines - an order header or a shipment total - which is a common way for a figure with its own rounding history to reach this element.