Method EinvoicePaymentTerms():setText() Professional

Sets the payment terms text (BT-20).

Syntax
:setText( <cValue> ) --> self
Parameters
<cValue>
The payment terms text, for example "Payable within 30 days net".
Return

This method returns self.

Description

Assigns the payment terms as free text (BT-20). The text is converted to UTF-8. In the XML document, the early payment discounts added via :addSkonto() are appended to this text.

If an amount is due for payment, the invoice must contain a payment terms text, a due date assigned via :setDueDate() or at least one early payment discount added via :addSkonto(). Otherwise, the method AbstractEinvoice():validate() reports rule BR-CO-25.

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.