Method EinvoiceAllowanceCharge():setPercent() Professional
Sets the calculation percentage (BT-94/BT-101).
:setPercent( <xValue> ) --> self
This method returns self.
Assigns the percentage of the allowance (BT-94) or of the charge (BT-101) which is applied to the base amount assigned via :setBaseAmount(), for example 5 for a 5% discount. The percentage is optional and informational only. It is passed through verbatim and is not used in any calculation.
Note: the value is not converted into an EinvoiceDecimal object and is not formatted. A character string is converted to UTF-8, and any other value is stored unchanged. In the XML document, the character representation of the value is written as is.
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.