create_billing_statement

Request a billing statement

Billing.create_billing_statement(selector=None, **kwargs) → ApiResponse

Asks the service to generate a billing statement for a period.

The work is asynchronous. This answers a requestId, and get_billing_statement reads the state of that request.

Request Body (required)

  • startDate (string): required. The first day of the period.

  • endDate (string): required. The last day of the period.

  • locale (string): required. The language the statement comes back in.

  • countryCodes (array): the countries to cover.

  • format (string): CSV is the only value the contract lists.

Returns

ApiResponse with the request identifier. The contract answers 207, a multi-status, not 200.