Method AbstractEinvoice():addNote() Professional

Adds a free-text note (BG-1).

Syntax
:addNote( <cText>, [<cSubjectCode>] ) --> self
Parameters
<cText>
The text of the note.
<cSubjectCode>
An optional subject code as defined in UNTDID 4451, for example "REG", "AAI" or "SUR". This defaults to NIL, meaning no subject code is assigned.
Return

This method returns self.

Description

Adds a free-text note (BG-1) to the invoice. The method can be called multiple times to add several notes.

The method :toModel() automatically adds a note for each mandatory legal statement, for example a VAT exemption reason. Such a note is not added if a note with the same text has already been added via :addNote().

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.