OrganizationBillingGroup

Get a single invoice

Changed on
get/organization/{organization_id}/invoice/{invoice_number}

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/organization/{organization_id}/invoice/{invoice_number}
  • 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

invoice_numberstring required

Invoice number

Response

Response

billing_group_idstring required

Billing group ID

create_timestring required

The date when this invoice was created

currency'AUD' | 'CAD' | 'CHF' | 'DKK' | 'EUR' | 'GBP' | 'JPY' | 'NOK' | 'NZD' | 'SEK' | 'SGD' | 'USD' required

Acceptable currencies for a billing group.

download_onlyboolean required

Download only

due_datestring

The date when this invoice is due

invoice_numberstring required

Invoice ID

issue_datestring required

The date the invoice was issued

netstring required

Total invoice amount without taxes in local currency

net_usdstring required

Total invoice amount without taxes in USD

organization_idstring required

Organization ID

overdueboolean required

Invoice is unpaid and its due date has passed by more than the payment grace period

state'accrual' | 'consolidated' | 'due' | 'estimate' | 'failed_credit_card_charge' | 'failed_no_credit_card' | 'mailed' | 'no_payment_expected' | 'paid' | 'partner_metering' | 'uncollectible' | 'waived' required

State of the invoice

totalstring required

Total invoice amount including taxes in local currency

total_usdstring required

Total invoice amount including taxes in USD

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