Method EinvoiceAllowanceCharge():setVatCategory() Professional
Sets the VAT category (BT-95/BT-102).
:setVatCategory( <cValue> ) --> self
This method returns self.
Assigns the VAT category code of the allowance (BT-95) or of the charge (BT-102) as defined in UNTDID 5305.
The VAT category is optional if all invoice lines share the same VAT category and rate. In this case, AbstractEinvoice:toModel() uses the category and rate of the invoice lines for the allowance or charge. If the invoice lines use more than one VAT category or rate, the VAT category must be set. Otherwise, the method AbstractEinvoice:validate() reports rule BR-32 for an allowance or rule BR-37 for a charge.
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.