get https://public.billsby.com/api/v1/rest/core//customers//invoices
This query gets individual customer's invoices
Use this API to get the invoices associated with a specific customer.
Returned variables
| Variable name | Description |
|---|---|
| invoiceId | The unique identifier of the invoice in Billsby |
| createdOn | The date the invoice was created |
| invoiceNumber | The unique ID for invoices |
| amount | The amount of the invoice shown without decimals (i.e. £10 will show as 1000) |
| refundableAmount | The amount that is currently refundable on the invoice. So if the invoice amount is £10 and £5 has already been refunded, this will be £5 and will show as 500. |
| formattedAmount | The formatted amount of the invoice (i.e. £10 will show as 10.00) |
| currency | The currency the invoice was issued in |
| linkedTransactionsCount | The number of transactions linked to the invoice |
| status | The status of the invoice: Paid Unpaid |
