Method AbstractEinvoice():addCharge() Professional

Adds a document-level charge (BG-21).

Syntax
:addCharge( <oSpec> ) --> self
Parameters
<oSpec>
The charge, specified either as an EinvoiceAllowanceCharge() object or as a DataObject with the corresponding members. Refer to the method EinvoiceAllowanceCharge():from() for details.
Return

This method returns self.

Description

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.

Feedback

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.