Method EinvoiceLineItem():setKind() Professional
Sets the kind of supply of the line.
:setKind( [<cValue>] ) --> self
This method returns self.
Assigns whether the line is a supply of goods or a service. The kind of supply is used for the automatic resolution of the VAT category if no VAT category is set via :setVatCategory().
In an IntraEuEinvoice(), a goods line resolves to category K (intra-community supply) and a service line resolves to category AE (reverse charge).
In an ExportEinvoice(), a goods line resolves to category G (export outside the EU). A service line is not resolved automatically, so its VAT category must be set explicitly.
A runtime error is raised if a value other than "goods" or "service" is passed.
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.