Method IntraEuEinvoice():resolveVatCategory() Professional

Resolves the VAT category and rate of an invoice line.

Syntax
:resolveVatCategory( <oLine> ) --> oTaxResult
Parameters
<oLine>
The EinvoiceLineItem() object to process.
Return

A DataObject with the members :Category, :Rate, :ExemptionReason and :ExemptionReasonCode.

Description

Determines the VAT category and the VAT rate which apply to an invoice line in the intra-community scenario. The method is called by :toModel() and :validate() for each invoice line.

If the seller applies the small business scheme, every line is assigned the category E (exempt) with the small business statement of the seller's country profile. Otherwise, the category is resolved from the VAT category of the line as follows:

No category - A line of the kind "goods" is assigned the category K. Any other line is assigned the category AE.

"S" - The line is standard-rated with its own VAT rate or, if it has none, with the default rate of the seller's country profile.

"AE" - The line is assigned the category AE (reverse charge, Art. 44 and Art. 196) with the exemption reason code VATEX-EU-AE and the EU reverse charge statement of the seller's country profile.

"K" - The line is assigned the category K (intra-community supply, Art. 138) with the exemption reason code VATEX-EU-IC and the intra-community statement of the seller's country profile.

Any other category - The category is taken over with a VAT rate of 0 and the exemption reason of the line.

An exemption reason or exemption reason code specified on the line always takes precedence over the values derived from the country profile.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.