An Invoice shall at least have one VAT breakdown group (BG-23).
The settlement information contains no VAT breakdown represented by ApplicableTradeTax. As a result, the invoice has no VAT breakdown group (BG-23).
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.
The settlement information does not contain a VAT breakdown. Add the tax group so the invoice includes the required tax summary.
- Add at least one
ApplicableTradeTaxgroup. - Check how the group is created through
AddApplicableTradeTax(...). - Generate the invoice again and validate it.
<ram:ApplicableHeaderTradeSettlement/>
<ram:ApplicableHeaderTradeSettlement> <ram:ApplicableTradeTax/> </ram:ApplicableHeaderTradeSettlement>
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.
The rule applies to the invoice settlement information in ApplicableHeaderTradeSettlement.
rule/@context)assert/@test)