Line 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 an allowance on an invoice line - BT-137, the figure that line's discount percentage was applied to - carries more than two characters after its first full stop, and ZATCA refuses the document under EN 16931 rule BR-DEC-25. 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. Like its counterpart at document level, this element is optional and exists to show your working: it is the gross line amount, usually the quantity multiplied by the gross price, against which the percentage was taken. It is read only when the allowance's parent is the cac:InvoiceLine itself and its cbc:ChargeIndicator is false; a price level allowance is outside the rule. Its sibling, the discount amount BT-136, is checked by BR-DEC-24.
What to check in your ERP
Nothing in the document is required to equal this figure, so formatting it to two decimals on the way out breaks no other rule - which makes it the easiest of the line amounts to fix and the one most often left unformatted, because it is written for explanation rather than for arithmetic. The fraction normally arrives from the multiplication that produced it: a fractional quantity times a gross price. If the gross line amount honestly is not a two-decimal figure, drop this element and the percentage beside it and write the discount amount alone, which the standard allows: a rounded base that no longer produces the stated discount when multiplied by the stated percentage is more confusing to a reader, and to an auditor, than no base at all. Check as well that this element is not being filled with the line net amount by mistake, which is a common mapping error and makes the percentage look wrong.