Method EinvoiceAllowanceCharge():setReason() Professional
Sets the reason text (BT-97/BT-104).
:setReason( <cValue> ) --> self
This method returns self.
Assigns the reason of the allowance (BT-97) or of the charge (BT-104) as free text. The text is converted to UTF-8.
Either the reason text or the reason code assigned via :setReasonCode() is required. The method AbstractEinvoice:validate() reports rule BR-33 for an allowance or rule BR-38 for a charge if both are empty.
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.