Skip to main content
GET
/
v1
/
invoices
List invoices
curl --request GET \
  --url https://rest.compute.cudo.org/v1/invoices \
  --header 'Authorization: <api-key>'
{
  "hasMore": true,
  "invoices": [
    {
      "amountDue": "<string>",
      "amountPaid": "<string>",
      "amountRemaining": "<string>",
      "autoAdvance": true,
      "billingReason": "<string>",
      "created": "<string>",
      "currency": "<string>",
      "description": "<string>",
      "dueDate": "<string>",
      "hostedInvoiceUrl": "<string>",
      "id": "<string>",
      "number": "<string>",
      "paidDate": "<string>",
      "periodEnd": "<string>",
      "periodStart": "<string>",
      "status": "<string>",
      "subtotal": "<string>",
      "subtotalExcludingTax": "<string>",
      "tax": "<string>",
      "total": "<string>",
      "totalExcludingTax": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Query Parameters

id
string
required
pageSize
integer
startingAfter
string
status
string

Response

A successful response.

hasMore
boolean
required
invoices
object[]
required