Each VAT breakdown (BG-23) shall have a VAT category taxable amount (BT-116).
The VAT breakdown is missing ram:BasisAmount (BT-116), the taxable amount.
The taxable amount (BT-116) is the tax base for the relevant VAT breakdown entry.
A VAT breakdown is missing its taxable amount. Add the value so that the tax base for this breakdown is provided.
- Find the relevant
ram:ApplicableTradeTax. - Add
ram:BasisAmountwith the taxable amount. - Check the call to
AddApplicableTradeTax(...). - Generate the invoice again and validate it once more.
<ram:ApplicableTradeTax/>
<ram:ApplicableTradeTax> <ram:BasisAmount>100.00</ram:BasisAmount> </ram:ApplicableTradeTax>
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.
The rule applies to each ram:ApplicableTradeTax within the document-level settlement.
rule/@context)assert/@test)