Method AbstractEinvoice():addAllowance() Professional

Adds a document-level allowance (BG-20).

Syntax
:addAllowance( <oSpec> ) --> self
Parameters
<oSpec>
The allowance, 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 an allowance (BG-20), for example a discount, which applies to the invoice as a whole. Allowances reduce the tax basis of the invoice.

The entry is always treated as an allowance. A charge flag contained in <oSpec> is ignored. Use :addCharge() to add a charge.

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.