Method EinvoiceLineItem():setPeriod() Professional
Sets the invoice line period (BT-26).
:setPeriod( <xStart>, <xEnd> ) --> self
This method returns self.
Assigns the invoice line period (BG-26) with its start date (BT-134) and end date (BT-135). If NIL is passed for both <xStart> and <xEnd>, the period is cleared. A runtime error is raised if a date is not in a valid format.
The line period is optional. An invoice must specify the date of supply (rule VAT-226-7). This requirement is fulfilled by a delivery date or an invoicing period of the invoice, or by a line period on every invoice line.
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.