Provide a taxable amount for each 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

At least one ram:ApplicableTradeTax does not contain ram:BasisAmount. This element represents the taxable amount (BT-116) for the corresponding VAT breakdown (BG-23).

What the rule means

Each VAT breakdown needs a taxable amount so that its taxable basis is stated.

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

At least one VAT breakdown is missing ram:BasisAmount. Include this element in each ram:ApplicableTradeTax so the taxable amount is present.

What to do
  1. Find each ram:ApplicableTradeTax in the VAT breakdown.
  2. Make sure each of these elements contains ram:BasisAmount.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:ApplicableTradeTax/>
✓ Correct
<ram:ApplicableTradeTax>
  <ram:BasisAmount>0</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, the test checks whether a ram:BasisAmount child element exists. It checks for presence, not the numeric value.

Where the rule applies

For each document-level ram:ApplicableTradeTax, which represents a VAT breakdown.

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