Method EinvoiceAllowanceCharge():setCharge() Professional
Sets whether the entry is a charge (BG-20/BG-21).
:setCharge( <lValue> ) --> self
This method returns self.
Assigns the flag which distinguishes a charge (BG-21) from an allowance (BG-20).
This method normally does not need to be called. The methods AbstractEinvoice:addAllowance() and AbstractEinvoice:addCharge() set the flag themselves and override any value set before.
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.