Retrieves the billing statement and invoice history for the organization, including statement periods, amounts, statuses, and PDF download links when available.
GET
/api/v1/billing/organization/{organization_id}/history
curl \
--request GET 'https://cloud.elastic.co/api/v1/billing/organization/{organization_id}/history'
Response examples (200)
{
"invoices": [
{
"invoiced_amount_in_cents": 0,
"issue_date": "2022-05-01",
"number": 1,
"organization_id": "1",
"period_end_date": "2022-05-31",
"period_start_date": "2022-05-01",
"status": "paid",
"type": "invoice"
}
],
"statements": []
}