Method AbstractEinvoice():setBillingPeriod() Professional

Sets the invoicing period (BG-14).

Syntax
:setBillingPeriod( <xStart>, <xEnd> ) --> self
Parameters
<xStart>
The start date of the period. The date can be specified as a date value or as a character string in the format "YYYY-MM-DD" or "YYYYMMDD".
<xEnd>
The end date of the period. The date can be specified as a date value or as a character string in the format "YYYY-MM-DD" or "YYYYMMDD".
Return

This method returns self.

Description

Assigns the invoicing period (BG-14). An invoice must specify the date of supply (rule VAT-226-7). This requirement is fulfilled by an invoicing period, by a delivery date set via :setDeliveryDate(), or by an invoicing period on every invoice line.

The end date must not be earlier than the start date (rule BR-29).

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.