Method EinvoicePaymentTerms():setDueDate() Professional
Sets the payment due date (BT-9).
:setDueDate( <xDate> ) --> self
This method returns self.
Assigns the payment due date (BT-9). If NIL or an empty value is passed, the due date is removed. If the value is not a valid date specification, this method raises a runtime error.
If an amount is due for payment, the invoice must contain a due date, a payment terms text assigned via :setText() or at least one early payment discount added via :addSkonto(). Otherwise, the method AbstractEinvoice():validate() reports rule BR-CO-25.
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.