The allowed maximum number of decimals for the Rounding amount (BT-114) is 2.
The value of ram:RoundingAmount contains more than two decimal places. The rule counts the characters after a decimal point and allows no more than two.
The rounding amount (BT-114) is a monetary amount limited to two decimal places.
The rounding amount contains more than two decimal places. You can adjust the value in the rounding amount field.
- Check the value of
ram:RoundingAmount. - Reduce or round the amount to no more than two decimal places.
- Set the value using
FacturXInvoice.RoundingAmount. - Generate the invoice again and validate it.
<ram:RoundingAmount>1.235</ram:RoundingAmount>
<ram:RoundingAmount>1.23</ram:RoundingAmount>
FacturXInvoice.RoundingAmount(BT-114)
Technical details
The XPath checks that the substring after . in ram:RoundingAmount is no longer than two characters.
The rule applies to the rounding amount ram:RoundingAmount within the settlement monetary totals.
rule/@context)assert/@test)