Method AbstractEinvoice():addCharge() Professional
Adds a document-level charge (BG-21).
:addCharge( <oSpec> ) --> self
This method returns self.
Adds a charge (BG-21), for example a freight or handling surcharge, which applies to the invoice as a whole. Charges increase the tax basis of the invoice. The reason code of a charge is defined in UNTDID 7161, for example "FC" for freight charges.
The entry is always treated as a charge. A charge flag contained in <oSpec> is ignored. Use :addAllowance() to add an allowance.
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.