Method AbstractEinvoice():new() Professional
Initializes a new invoice object.
:new( <cNumber>, [<xIssueDate>], [<cTypeCode>], [<cCurrency>] ) --> self
This method returns self.
Initializes an empty invoice without seller, buyer or invoice lines. The type code defaults to commercial invoice and the currency defaults to "EUR".
This method must not be called on the AbstractEinvoice class itself. Doing so raises a runtime error. Instead, an invoice object must be created through one of the scenario subclasses DomesticEinvoice(), IntraEuEinvoice(), ExportEinvoice() or ManualEinvoice(). Alternatively, the methods EinvFactory():createInvoice() and EinvFactory():createManualInvoice() can be used, which select the appropriate subclass automatically.
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.