Allowance total is written with more than two decimal places
Reported asmore_than_two_decimalsmore than two decimal places
What is wrong
The cbc:AllowanceTotalAmount in the document totals block - BT-107, the sum of the document level discounts - carries more than two characters after its first full stop, and ZATCA flags it under EN 16931 rule BR-DEC-10 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 element sums the document level allowances only; the discounts on individual lines are already inside the line amounts and are not counted again here. It sits in cac:LegalMonetaryTotal beside five other amounts with two-decimal rules of their own, so it is common to see this finding together with BR-DEC-09, BR-DEC-12 or BR-DEC-14.
What to check in your ERP
There are two shapes to look for and they need different fixes. If your totals routine adds the document allowances up, the fraction has come in from the individual discount amounts - round each cbc:Amount to two decimals first, then sum the rounded values, which is also what BR-CO-11 requires, since it compares this total against the allowances the document actually carries. If instead this total is derived by subtraction, calculated as the line sum minus the tax-exclusive total, then it is inheriting a fraction from whichever of those two is itself unrounded, and the fix belongs there rather than here. A discount converted from another currency is the third common source.