The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2.
ram:BasisAmount contains more than two digits after the decimal point. The taxable amount (BT-116) may have no more than two decimal places.
The two-decimal limit ensures consistent decimal precision for the taxable amount in the VAT breakdown.
The taxable amount in ram:BasisAmount has more than two decimal places. Reduce or round the value to no more than two decimal places.
- Check the value in
ram:BasisAmount. - Limit the decimal places to no more than two.
- Generate the invoice again and validate it once more.
<ram:ApplicableTradeTax> <ram:BasisAmount>100.001</ram:BasisAmount> </ram:ApplicableTradeTax>
<ram:ApplicableTradeTax> <ram:BasisAmount>100.00</ram:BasisAmount> </ram:ApplicableTradeTax>
Technical details
The test counts the characters after the decimal point in ram:BasisAmount and permits no more than two.
The rule applies to ram:BasisAmount within each ram:ApplicableTradeTax in the invoice header settlement data.
rule/@context)assert/@test)