An Invoice shall have the Amount due for payment (BT-115).
ram:DuePayableAmount, which contains the amount still due for payment, is missing from ram:SpecifiedTradeSettlementHeaderMonetarySummation.
The amount still due is a required invoice value. It states the amount due for payment.
The invoice totals are missing the amount still due for payment. Add ram:DuePayableAmount so that this amount is stated in the invoice.
- Add
ram:DuePayableAmounttoram:SpecifiedTradeSettlementHeaderMonetarySummation. - Check the value of
DuePayableAmount. - Generate the invoice again and validate it again.
<ram:SpecifiedTradeSettlementHeaderMonetarySummation/>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:DuePayableAmount>119.00</ram:DuePayableAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
FacturXInvoice.DuePayableAmount(BT-115)
Technical details
The test requires ram:DuePayableAmount to be present in the context of ram:SpecifiedTradeSettlementHeaderMonetarySummation.
The rule applies to the invoice totals in ram:SpecifiedTradeSettlementHeaderMonetarySummation.
rule/@context)assert/@test)