Skip to main content
GET
/
v1
/
billing-accounts
/
invoices
/
outstanding
List outstanding invoices
curl --request GET \
  --url https://rest.compute.cudo.org/v1/billing-accounts/invoices/outstanding \
  --header 'Authorization: <api-key>'
{
  "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>

Response

A successful response.

invoices
object[]
required