get https://api.acefone.co.uk/v1/billing/invoices
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 Name | Description | Data Type |
|---|---|---|
| total_records | Total number of invoice records | Number |
| filtered_records | Total number of records after filters are applied | Number |
| page_records | Total number of records on current page | Number |
| page | Current page number | Number |
| data | List of invoices | Object |
| id | Unique ID of invoice | Number |
| company_name | Name of the company | String |
| date | Invoice date | String |
| amount | Invoice amount | Number |
| link | Invoice link | String |
| 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" } ] } |
