Method EinvoiceAllowanceCharge():setVatRate() Professional

Sets the VAT rate (BT-96/BT-103).

Syntax
:setVatRate( <xValue> ) --> self
Parameters
<xValue>
The VAT rate, specified as a numeric value, a character string or an EinvoiceDecimal object. If NIL is passed, the VAT rate is removed.
Return

This method returns self.

Description

Assigns the VAT rate of the allowance (BT-96) or of the charge (BT-103) in percent. The VAT rate is used together with the VAT category assigned via :setVatCategory() to determine the VAT breakdown group (BG-23) to which the allowance or charge belongs.

If no VAT category has been set and all invoice lines share the same VAT category and rate, AbstractEinvoice:toModel() uses the rate of the invoice lines instead.

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.