An Invoice shall have the Sum of Invoice line net amount (BT-106).
ram:LineTotalAmount is missing from ram:SpecifiedTradeSettlementHeaderMonetarySummation. As a result, the sum of invoice line net amounts is not provided.
ram:LineTotalAmount contains the sum of the net amounts of all invoice lines. This amount is a required part of the invoice totals.
The invoice totals are missing ram:LineTotalAmount. Add the total amount so that the net amounts of the invoice lines are reported.
- Check
FacturXInvoice.LineTotalAmount. - Provide the sum of the invoice line net amounts.
- Generate the invoice again and validate it.
<ram:SpecifiedTradeSettlementHeaderMonetarySummation/>
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:LineTotalAmount>100.00</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
FacturXInvoice.LineTotalAmount(BT-106)
Technical details
The test (ram:LineTotalAmount) checks for the presence of the element in the context of ram:SpecifiedTradeSettlementHeaderMonetarySummation.
The rule applies to the invoice totals in ram:SpecifiedTradeSettlementHeaderMonetarySummation.
rule/@context)assert/@test)