Class ManualEinvoice() Professional
Class for electronic invoices with explicit VAT categories.
The ManualEinvoice class implements the AbstractEinvoice() scenario which applies no automatic VAT logic. Instead, the VAT category of every invoice line must be specified explicitly via EinvoiceLineItem:setVatCategory(). For the category "S", the VAT rate must be specified as well via EinvoiceLineItem():setVatRate().
ManualEinvoice is the only scenario which does not require the seller to be located in the EU. For this reason, EinvFactory():createInvoice() creates a ManualEinvoice object if the seller is located outside the EU. In addition, EinvFactory():createManualInvoice() always creates a ManualEinvoice object. This method can be used for special VAT schemes or whenever the automatic scenarios DomesticEinvoice(), IntraEuEinvoice() and ExportEinvoice() do not apply.
The object can also be created directly via ManualEinvoice():new( cNumber, xIssueDate ) if the VAT treatment of every invoice line is already known.
In addition, the class methods ManualEinvoice():createFromString() and ManualEinvoice():createFromFile() create a ManualEinvoice() object from an existing CII XML document.
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.