Using the below method, a list of all invoices can be retrieved.

curl --request GET \
  --url https://api.acefone.co.uk/v1/billing/invoices \
  --header 'accept: application/json' \
  --header 'authorization: Authorization'

Response

Variable NameDescriptionData Type
total_recordsTotal number of invoice recordsNumber
filtered_recordsTotal number of records after filters are appliedNumber
page_recordsTotal number of records on current pageNumber
pageCurrent page numberNumber
dataList of invoicesObject
idUnique ID of invoiceNumber
company_nameName of the companyString
dateInvoice dateString
amountInvoice amountNumber
linkInvoice linkString
Sample JSON
{
"total_records":"1"
"filtered_records":"1"
"page_records":"1"
"page":"1"
"data":[
0:{
"id":"183"
"company_name":"CRM_CLIENT"
"date":"2020-03-22 00:00:00"
"amount":"17"
}
]
}
Language
Click Try It! to start a request and see the response here!