Provide the invoice total amount with VAT

Error BR-14 EN 16931

An Invoice shall have the Invoice total amount with VAT (BT-112).

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

ram:GrandTotalAmount, which contains the invoice total amount with VAT, is missing from ram:SpecifiedTradeSettlementHeaderMonetarySummation.

What the rule means

The invoice total amount with VAT is a required invoice total. It states the total including VAT.

Affected fields BT-112
Please provide the invoice total amount with VAT

The invoice totals are missing the amount with VAT. You can fix this by adding ram:GrandTotalAmount.

What to do
  1. Add ram:GrandTotalAmount to ram:SpecifiedTradeSettlementHeaderMonetarySummation.
  2. Check the value of GrandTotalAmount.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:SpecifiedTradeSettlementHeaderMonetarySummation/>
✓ Correct
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:GrandTotalAmount>119.00</ram:GrandTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
Check in FactoorSharp
  • FacturXInvoice.GrandTotalAmount (BT-112)
Technical details

The test requires ram:GrandTotalAmount to be present in the context of ram:SpecifiedTradeSettlementHeaderMonetarySummation.

Where the rule applies

The rule applies to the invoice totals in ram:SpecifiedTradeSettlementHeaderMonetarySummation.

Context (rule/@context)
//ram:SpecifiedTradeSettlementHeaderMonetarySummation
Test expression (assert/@test)
(ram:GrandTotalAmount)