Class IntraEuEinvoice() Professional
Class for intra-community electronic invoices.
The IntraEuEinvoice class implements the AbstractEinvoice scenario for intra-community B2B supplies, in which the buyer has a VAT identifier in an EU member state other than the country of the seller.
The VAT treatment of an invoice line is derived from its kind. A line of the kind "goods" is resolved to the category K, the exempt intra-community supply according to Art. 138 of the VAT Directive. A line of the kind "service" is resolved to the category AE, the reverse charge according to Art. 44 and Art. 196 of the VAT Directive.
Usually, an IntraEuEinvoice object is created by EinvFactory():createInvoice() when the seller and the buyer are located in different EU member states. The object can also be created directly via IntraEuEinvoice():new( cNumber, xIssueDate ) if the scenario is already known.
As soon as an invoice line is resolved to the category K or AE, the VAT identifiers of both the seller and the buyer are mandatory. Otherwise, :validate() reports the rules VAT-226-3 and VAT-226-4. In addition, :validate() reports informational hints from the seller's EinvoiceCountryProfile, for example on the VIES check of the buyer VAT identifier and on the EC Sales List.
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.