- In a VAT breakdown (BG-23) where VAT category code (BT-118) is equal to “O” ("Not subject to VAT"), Absolute Value of (VAT category taxable amount (BT-116) - ∑ Invoice line net amounts (BT-131) + Σ Document level allowance amounts (BT-92) - Σ Document level charge amounts (BT-99) - Σ Logistics Service fee amounts (BT-x-272)) <= 0,01 * ((Number of line net amounts (BT-131) + Number of Document level allowance amounts (BT-92) + Number of Document level charge amounts (BT-99) + Number of Logistics Service fee amounts (BT-X-272)), where the VAT category code (BT-151, BT-95, BT-102, BT-X-273) is "Not subject to VAT" (O), but only for lines where the "Subtype of invoice item" (BT-X-8) has the value "DETAIL" or is not specified.
The amount in ram:BasisAmount does not match, within the permitted rounding tolerance, the total of the relevant invoice line net amounts, allowances, charges and logistics service fees in category O. Invoice lines are included when ram:LineStatusReasonCode is absent or has the value DETAIL.
The taxable amount in the breakdown for “not subject to VAT” must reconcile mathematically with its related invoice components.
The taxable amount for category O differs from its related invoice components. You can resolve this by reconciling the amounts and their category assignments.
- Compare
ram:BasisAmountwith the relevant invoice line and document-level amounts. - Check category
OinTaxCategoryCodesand the values inTradeLineItem.LineTotalAmountandAbstractTradeAllowanceCharge.ActualAmount. - Regenerate the invoice and validate it again.
TaxCategoryCodes(BT-151; BT-95; BT-102; BT-118)AbstractTradeAllowanceCharge.ActualAmount(Document level allowance: BT-92; Document level charge: BT-99)AssociatedDocument.LineStatusReasonCode(BT-X-8)LineStatusReasonCodes(BT-X-8)TradeLineItem.LineTotalAmount(BT-131)
Technical details
The test compares ram:BasisAmount with the sum calculated from ram:LineTotalAmount, ram:ActualAmount and ram:AppliedAmount for category O. The permitted difference depends on the number of included elements; amounts are rounded to two decimal places.
Applies to the category O VAT breakdown in ram:ApplicableTradeTax under ram:ApplicableHeaderTradeSettlement.
rule/@context)assert/@test)