Class DomesticEinvoice() Professional
Class for domestic electronic invoices.
The DomesticEinvoice class implements the e-invoice scenario in which the buyer is located in the same country as the seller, for example a German seller and a German buyer. This is the most common scenario. Invoice lines are standard-rated unless the line specifies another VAT category or the seller applies the small business scheme. In Germany, this scenario falls under the e-invoicing mandate (issue from 2027/2028).
Usually, a DomesticEinvoice object is created by EinvFactory():createInvoice() when the seller and the buyer are located in the same country. The object can also be created directly via DomesticEinvoice():new( cNumber, xIssueDate ) if the scenario is already known.
The seller must be located in the EU. Otherwise, :validate() reports a "SCENARIO" error through :validateScenario().
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.