Class ExportEinvoice() Professional

Class for export electronic invoices.

Description

The ExportEinvoice class implements the AbstractEinvoice() scenario in which a seller located in the EU invoices a buyer located outside the EU.

The VAT treatment of an invoice line is derived from its kind. A line of the kind "goods" is resolved to the category G, the exempt export according to Art. 146 of the VAT Directive. For a line of the kind "service", no category is derived automatically. Instead, the VAT category must be specified explicitly on the line. Usually, this is the category "O" (not subject to VAT).

Usually, an ExportEinvoice object is created by EinvFactory():createInvoice() when the buyer is located outside the EU. The object can also be created directly via ExportEinvoice():new( cNumber, xIssueDate ) if the scenario is already known.

Note: The category O cannot be combined with other categories on the same invoice (BR-O-11). Since the VAT identifiers are omitted for the category O, the tax number of the seller is required instead (BR-O-02).

Methods
:acceptsBuyerCountry()
Checks whether the buyer country is outside the EU.
:getScenario()
Returns the scenario of the invoice.
:resolveVatCategory()
Resolves the VAT category and rate of an invoice line.
:validateScenario()
Validates the rules of the export scenario.
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.