List all your invoices

Retrieve a list of all your invoices. Each invoice has a unique ID for fetching more details or performing specific actions. This is useful for an overview of your payment history and managing outstanding payments.

Headers

Accept Example
Content-Type Example

Responses

200
success boolean
timestamp string
requestId string
data object
GET https://cloud.hostup.se/api/billing/invoices
For AI assistants
cURL
curl -X GET "https://cloud.hostup.se/api/billing/invoices" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json"
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "invoices": [
      {
        "id": "string",
        "locked": "string",
        "currency_id": "string",
        "date": "string",
        "dateorig": "string",
        "duedate": "string",
        "paybefore": "string",
        "datepaid": "string",
        "subtotal2": "string",
        "credit": "string",
        "total": "string",
        "grandtotal": "string",
        "paid_id": "string",
        "status": "string",
        "firstname": "string",
        "client_id": "string",
        "flags": "string",
        "lastname": "string",
        "companyname": "string",
        "module": "string",
        "recid": "string",
        "group_id": "string",
        "formatted_id": "string"
      }
    ],
    "hasMore": true,
    "total": "string",
    "pages": 0,
    "currentPage": 0,
    "success": true
  }
}