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.
Accept Example Content-Type Example success boolean timestamp string requestId string data object https://cloud.hostup.se/api/billing/invoices curl -X GET "https://cloud.hostup.se/api/billing/invoices" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" {
"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
}
}