Method EinvoiceLineItem():setVatCategory() Professional

Sets the VAT category of the line (BT-151).

Syntax
:setVatCategory( <cValue> ) --> self
Parameters
<cValue>
A VAT category code. Use one of the EINV_VATCAT_* constants defined in einvoice-codes.ch.
Return

This method returns self.

Description

Assigns an explicit VAT category for the line (BT-151) as defined in UNTDID 5305. If no category is set, the scenario classes DomesticEinvoice(), IntraEuEinvoice() and ExportEinvoice() determine the category from the kind of supply set via :setKind().

For a ManualEinvoice(), the VAT category must be set on every line.

Feedback

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.