Method EinvoiceLineItem():setVatRate() Professional
Sets the VAT rate of the line (BT-152).
:setVatRate( <xValue> ) --> self
This method returns self.
Assigns an explicit VAT rate for the line (BT-152) as a percentage. If NIL is passed, the VAT rate is cleared.
The rate is used if the VAT category of the line resolves to standard rate (S). In the scenarios DomesticEinvoice(), IntraEuEinvoice() and ExportEinvoice(), the default rate of the seller profile is used if no rate is set. In a DomesticEinvoice, a line without VAT category and with a rate of zero is treated as zero rated (Z). In a ManualEinvoice(), a standard rated line requires an explicit rate.
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.