The allowed maximum number of decimals for the Invoice total amount with VAT (BT-112) is 2.
GrandTotalAmount contains more than two digits after the decimal separator.
The invoice total including VAT may have no more than two decimal places.
GrandTotalAmount has more decimal places than allowed for the invoice total including VAT. You can adjust the amount to no more than two decimal places.
- Check the value of
GrandTotalAmount. - Limit it to no more than two decimal places.
- Check the
GrandTotalAmountproperty. - Generate the invoice again and validate it once more.
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:GrandTotalAmount>123.456</ram:GrandTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:GrandTotalAmount>123.45</ram:GrandTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
FacturXInvoice.GrandTotalAmount(BT-112)
Technical details
The XPath counts the characters after the decimal point in GrandTotalAmount and allows no more than two.
The rule applies to GrandTotalAmount, the invoice total including VAT in SpecifiedTradeSettlementHeaderMonetarySummation.
rule/@context)assert/@test)