Document level allowance base amount is written with more than two decimal places
Reported asmore_than_two_decimalsmore than two decimal places
What is wrong
The cbc:BaseAmount of a document level allowance - BT-93, the figure the discount percentage was applied to - carries more than two characters after its first full stop, and ZATCA flags it under EN 16931 rule BR-DEC-02 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 is optional and exists to show your working, so that a reader can see the percentage and the base producing the discount amount. It is read here only when the allowance is a direct child of the invoice element and its cbc:ChargeIndicator is false; the same element on a line belonged to BR-DEC-25, a rule SDK 3.4.8 no longer reaches. Its two siblings in the block have rules of their own - the discount amount, BT-92, under BR-DEC-01, and the percentage, BT-94, under ZATCA's BR-KSA-DEC-01, which allows six decimals rather than two - so expect to see this finding beside them.
What to check in your ERP
This is the least dangerous of the amounts to reformat and the most often overlooked, because it is context rather than a figure anything else is derived from: nothing in the document has to equal it, so formatting it to two decimals on the way out changes no other number. The usual cause is a subtotal carried straight from the pricing engine or from the order at its stored precision, since nobody thinks to format a field that is only there to explain. If the base amount genuinely is not a two-decimal figure, the honest fix is to drop both the base and the percentage and write the discount amount alone, which the standard permits: a rounded base that no longer produces the discount when multiplied by the percentage misleads the reader more than no base at all would.