Provide at least one VAT breakdown

Error BR-CO-18 EN 16931

An Invoice shall at least have one VAT breakdown group (BG-23).

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

The settlement information contains no VAT breakdown represented by ApplicableTradeTax. As a result, the invoice has no VAT breakdown group (BG-23).

What the rule means

The VAT breakdown summarizes the invoice’s tax information. At least one such group must be present, including when no VAT is due on the invoice.

Affected fields BG-23
Please add a VAT breakdown to the invoice

The settlement information does not contain a VAT breakdown. Add the tax group so the invoice includes the required tax summary.

What to do
  1. Add at least one ApplicableTradeTax group.
  2. Check how the group is created through AddApplicableTradeTax(...).
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:ApplicableHeaderTradeSettlement/>
✓ Correct
<ram:ApplicableHeaderTradeSettlement>
  <ram:ApplicableTradeTax/>
</ram:ApplicableHeaderTradeSettlement>
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

The test requires at least one ApplicableTradeTax under ApplicableHeaderTradeSettlement.

Where the rule applies

The rule applies to the invoice settlement information in ApplicableHeaderTradeSettlement.

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