(self, date_start, date_end, domain, recipients=None)
The Invoice generated will always be for the month preceding the
        invoicing_date.
        For example, if today is July 5, 2014 then the invoice will be from
        June 1, 2014 to June 30, 2014.
The Invoice generated will always be for the month preceding the
        invoicing_date.
        For example, if today is July 5, 2014 then the invoice will be from
        June 1, 2014 to June 30, 2014.
The Invoice generated will always be for the month preceding the invoicing_date . For example if today is July 5 2014 then the invoice will be from June 1 2014 to June 30 2014 .
def __init__(self, date_start, date_end, domain, recipients=None):
        """
        The Invoice generated will always be for the month preceding the
        invoicing_date.
        For example, if today is July 5, 2014 then the invoice will be from
        June 1, 2014 to June 30, 2014.
        """
        self.date_start = date_start
        self.date_end = date_end
        self.domain = ensure_domain_instance(domain)
        self.recipients = recipients
        self.logged_throttle_error = False
        if self.domain is None:
            raise InvoiceError("Domain '%s' is not a valid domain on HQ!" % domain)
def __init__ ( self , date_start , date_end , domain , recipients = None ) : self . date_start = date_start self . date_end = date_end self . domain = ensure_domain_instance ( domain ) self . recipients = recipients self . logged_throttle_error = False if self . domain is None : raise InvoiceError ( "Domain '%s' is not a valid domain on HQ!" % domain )