- In a VAT breakdown (BG-23), for each different value of VAT rate (BT-119), where VAT category code (BT-118) is equal to “S” ("Standard Rated"), 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 "Standard Rated" (S), 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 related invoice line, allowance, charge and logistics service fee amounts. Category S, the applicable rate and invoice lines with no ram:LineStatusReasonCode or with the value DETAIL are taken into account.
The taxable amount for each rate must correctly aggregate the related amounts in the standard-rated category.
The taxable amount for category S differs from the related amounts for the applicable rate. Check the totals and their category and rate assignments.
- Compare
ram:BasisAmountwith the invoice line and document-level amounts for the applicable rate. - Check the category and rate in
TaxCategoryCodesand the amounts 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 sums ram:LineTotalAmount, ram:ActualAmount and ram:AppliedAmount for category S and the relevant ram:RateApplicablePercent. The difference from ram:BasisAmount must not exceed the rounding tolerance based on the element count.
Applies to each category S VAT breakdown in ram:ApplicableTradeTax under ram:ApplicableHeaderTradeSettlement, separately for each rate.
rule/@context)assert/@test)