OrganizationBillingGroup

Get a list of invoices

Changed on

Lists the invoices of an organization whose billing period overlaps the requested date range. The date range is always bounded, so leaving out starting_date and ending_date does not list every invoice of the organization. With neither given, the range defaults to the previous full calendar month: from the first day of the previous month to the first day of the current month, both inclusive. With only starting_date given, the range covers the one month starting from that date. With only ending_date given, it covers the one month ending at that date. With both given, the range is the period between them, and ending_date must be after starting_date or the request fails with bad_request.

get/organization/{organization_id}/invoices

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/organization/{organization_id}/invoices
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: billing:read

Path parameters

organization_idstring required

ID of an organization

Query parameters

unknown

IDs of the billing_groups

unknown

refers to state of the invoice

starting_datestring

start of the invoice time period, default: start of last month

ending_datestring

end of the invoice time period, default: start of this month

Response

Response

Changes

    • info

      added the required property // to the response with the status

    • info

      removed the due_only_project_charges_calculated enum value from the // response property for the response status

    • info

      removed the estimate_only_project_charges_calculated enum value from the // response property for the response status