get https://public.billsby.com/api/v1/rest/core//companies/invoices
Get a list of your company's invoices
This API returns a list of your companies invoices. You'll get information on the customer associated with the invoice and the amount and currency. You won't get a full spectrum of information on the individual customers here but you can use the Get Customer details API to find more details - just use the Customer ID variable.
Credit notes are returned in pages. The first part of the results describes which page you're on, the total number of pages, the size of the page and how many rows are in the page. Then, each result is provided within the array.
Returned variables
Variable name | Description |
---|---|
invoiceId | The unique identifier of the invoice in Billsby |
invoiceNumber | Unique ID for invoices. They should be a code followed by a number, which is a counter of previous invoices. |
customerId | The unique identifier of the customer in Billsby |
customerUniqueId | A more readable unique identifier of the customer |
customerFirstName | The customer's first name |
customerLastName | The customer's last name |
customerFullName | The customer's full name |
createdOn | The date that the invoice was created |
amount | The amount of the invoice as integer data type. The amount is multiplied by 100 so that decimal place will be whole numbers. (ie: $10 is 1000) |
formattedAmount | The amount formatted in the currency it is in. (i.e: $10) |
status | The status of the invoice: paid, unpaid or pending |
currency | The currency the invoice was issued in |