- 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), and where applicable the VAT exemption reason and specification code (BT-195, BT-174 and BT-176 and BT-X-592) and the Exemption reason text (BT-194, BT-173 and BT-175 and BT-X-591) are identical with the VAT category VAT exemption reason and specification code (BT-121) and VAT exemption reason text (BT-120), 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 amounts of invoice components whose category is S, rate, exemption code and exemption text match the breakdown. Only invoice lines with no ram:LineStatusReasonCode or with DETAIL are included.
The taxable amount for each rate must aggregate amounts with matching tax details. Matching exemption reasons prevents different tax circumstances from being combined in the same calculation group.
The taxable amount for category S does not reconcile with the amounts having the same rate and exemption reason. Check that the amounts and exemption details correspond.
- Compare the breakdown’s
ram:RateApplicablePercent,ram:ExemptionReasonCodeandram:ExemptionReasonwith the details of the invoice components. - 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 applicable rate; exemption code and text must match the breakdown. The rounding tolerance scales with the number of included elements.
Applies to each category S VAT breakdown in ram:ApplicableTradeTax under ram:ApplicableHeaderTradeSettlement, separately for each rate, and to the matching tax details of its invoice components.
rule/@context)assert/@test)