In a VAT breakdown (BG-23) where the VAT category code (BT-118) is "Export outside the EU" the VAT category taxable amount (BT-116) shall equal the sum of Invoice line net amounts (BT-131) minus the sum of Document level allowance amounts (BT-92) plus the sum of Document level charge amounts (BT-99) where the VAT category codes (BT-151, BT-95, BT-102) are "Export outside the EU".
The ram:BasisAmount in the VAT breakdown with category G is not within one euro of the sum of the net amounts of invoice lines for exports outside the EU, plus the corresponding document-level charges and minus the corresponding document-level allowances.
G denotes exports outside the EU. The taxable amount must reflect the net amounts and the allowances and charges assigned to this category.
The taxable amount for G does not match the associated invoice lines and document-level allowances or charges. Adjusting the amounts or their tax category can resolve the discrepancy.
- Check
ram:BasisAmountin the VAT breakdown whoseram:CategoryCodeisG. - Compare it with the corresponding
TradeLineItem.LineTotalAmountandAbstractTradeAllowanceCharge.ActualAmountvalues. - Check whether the relevant tax categories are assigned to category
GthroughTaxCategoryCodes. - Generate the invoice again and validate it once more.
<ram:ApplicableTradeTax> <ram:CategoryCode>G</ram:CategoryCode> <ram:BasisAmount>99.00</ram:BasisAmount> </ram:ApplicableTradeTax> <ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedLineTradeSettlement> <ram:ApplicableTradeTax> <ram:CategoryCode>G</ram:CategoryCode> </ram:ApplicableTradeTax> <ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount>100.00</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementLineMonetarySummation> </ram:SpecifiedLineTradeSettlement> </ram:IncludedSupplyChainTradeLineItem>
<ram:ApplicableTradeTax> <ram:CategoryCode>G</ram:CategoryCode> <ram:BasisAmount>100.00</ram:BasisAmount> </ram:ApplicableTradeTax> <ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedLineTradeSettlement> <ram:ApplicableTradeTax> <ram:CategoryCode>G</ram:CategoryCode> </ram:ApplicableTradeTax> <ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount>100.00</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementLineMonetarySummation> </ram:SpecifiedLineTradeSettlement> </ram:IncludedSupplyChainTradeLineItem>
TaxCategoryCodes(BT-151; BT-95; BT-102; BT-118)AbstractTradeAllowanceCharge.ActualAmount(Document level allowance: BT-92; Document level charge: BT-99)TradeLineItem.LineTotalAmount(BT-131)TradeLineItem.TaxCategoryCode(BT-151)TradeLineItem.TaxType(BT-151-0)
Technical details
The test sums line amounts and charges in category G, subtracts allowances in the same category, and compares the result with ram:BasisAmount using a one-euro tolerance.
The rule applies to the header ram:ApplicableTradeTax VAT breakdown with ram:CategoryCode G and its corresponding invoice lines and document-level allowances and charges.
rule/@context)assert/@test)