Provide the taxable amount in the VAT breakdown

Error BR-45 EN 16931

Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116).

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

The VAT breakdown is missing ram:BasisAmount (BT-116), the taxable amount.

What the rule means

The taxable amount (BT-116) is the tax base for the relevant VAT breakdown entry.

Affected fields BG-23 BT-116
Please add the taxable amount for the VAT breakdown

A VAT breakdown is missing its taxable amount. Add the value so that the tax base for this breakdown is provided.

What to do
  1. Find the relevant ram:ApplicableTradeTax.
  2. Add ram:BasisAmount with the taxable amount.
  3. Check the call to AddApplicableTradeTax(...).
  4. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:ApplicableTradeTax/>
✓ Correct
<ram:ApplicableTradeTax>
  <ram:BasisAmount>100.00</ram:BasisAmount>
</ram:ApplicableTradeTax>
Check in FactoorSharp
  • FacturXInvoice.AddApplicableTradeTax(basisAmount, percent, taxAmount, typeCode, categoryCode, allowanceChargeBasisAmount, exemptionReasonCode, exemptionReason, lineTotalBasisAmount) (BG-23)
  • FacturXInvoice.AnyApplicableTradeTaxes() (BG-23)
  • FacturXInvoice.GetApplicableTradeTaxes() (BG-23)
  • FacturXInvoice.Taxes (BG-23)
Technical details

For each ram:ApplicableTradeTax in the specified context, the test checks whether a ram:BasisAmount element is present.

Where the rule applies

The rule applies to each ram:ApplicableTradeTax within the document-level settlement.

Context (rule/@context)
//ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax
Test expression (assert/@test)
(ram:BasisAmount)