Skip to main content
GET
/
invoices
/
history
Get invoice history
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
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Query Parameters

limit
integer
default:100

Maximum number of invoices to return

status
string

Filter by invoice status

Response

OK

invoices
object[]