An Invoice shall have the Invoice total amount with VAT (BT-112).
ram:GrandTotalAmount, which contains the invoice total amount with VAT, is missing from ram:SpecifiedTradeSettlementHeaderMonetarySummation.
The invoice total amount with VAT is a required invoice total. It states the total including VAT.
The invoice totals are missing the amount with VAT. You can fix this by adding ram:GrandTotalAmount.
- Add
ram:GrandTotalAmounttoram:SpecifiedTradeSettlementHeaderMonetarySummation. - Check the value of
GrandTotalAmount. - Generate the invoice again and validate it again.
<ram:SpecifiedTradeSettlementHeaderMonetarySummation/>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:GrandTotalAmount>119.00</ram:GrandTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
FacturXInvoice.GrandTotalAmount(BT-112)
Technical details
The test requires ram:GrandTotalAmount to be present in the context of ram:SpecifiedTradeSettlementHeaderMonetarySummation.
The rule applies to the invoice totals in ram:SpecifiedTradeSettlementHeaderMonetarySummation.
rule/@context)assert/@test)