curl --request GET \
--url https://api.thundercompute.com:8443/v1/invoices/history \
--header 'Authorization: <api-key>'{
"invoices": [
{
"amount_due": 123,
"currency": "<string>",
"due_date": 123,
"hosted_invoice_url": "<string>",
"id": "<string>",
"lines": {
"data": [
{
"amount": 123,
"currency": "<string>",
"description": "<string>",
"id": "<string>",
"period": {
"end": 123,
"start": 123
},
"quantity": 123
}
]
},
"period_end": 123,
"period_start": 123,
"starting_balance": 123,
"status": "<string>",
"subtotal": 123,
"tax": 123,
"total": 123,
"total_tax_amounts": [
{
"amount": 123
}
]
}
]
}Retrieve historical invoices for the authenticated user’s organization
curl --request GET \
--url https://api.thundercompute.com:8443/v1/invoices/history \
--header 'Authorization: <api-key>'{
"invoices": [
{
"amount_due": 123,
"currency": "<string>",
"due_date": 123,
"hosted_invoice_url": "<string>",
"id": "<string>",
"lines": {
"data": [
{
"amount": 123,
"currency": "<string>",
"description": "<string>",
"id": "<string>",
"period": {
"end": 123,
"start": 123
},
"quantity": 123
}
]
},
"period_end": 123,
"period_start": 123,
"starting_balance": 123,
"status": "<string>",
"subtotal": 123,
"tax": 123,
"total": 123,
"total_tax_amounts": [
{
"amount": 123
}
]
}
]
}Was this page helpful?