The allowed maximum number of decimals for the VAT category taxable amount (BT-116) is 2.
The value in ram:BasisAmount has more than two characters after the decimal point. The taxable amount (BT-116) may have no more than two decimal places.
The limit ensures that the taxable amount is expressed with no more than two decimal places.
The taxable amount in ram:BasisAmount has more than two decimal places. Adjust the value so that it has no more than two digits after the decimal point.
- Find the relevant
ram:BasisAmount. - Adjust the value so that no more than two digits follow the decimal point.
- Generate the invoice again and validate it once more.
<ram:BasisAmount>123.456</ram:BasisAmount>
<ram:BasisAmount>123.45</ram:BasisAmount>
Technical details
The test counts the characters after the first period in the string value of ram:BasisAmount and allows no more than two.
The rule applies to ram:BasisAmount (BT-116) in the document-level VAT breakdown.
rule/@context)assert/@test)