curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/billing/invoices \
--header 'Authorization: Bearer <token>'[
{
"invoiceStartDate": "2023-12-25",
"invoiceEndDate": "2023-12-25",
"totalAmount": {
"isNegative": true,
"currencyCode": "GBP",
"integral": 123,
"fractional": 123
},
"invoiceURL": "<string>",
"productBreakdowns": [
{
"productName": "<string>",
"quantity": 123,
"total": {
"isNegative": true,
"currencyCode": "GBP",
"integral": 123,
"fractional": 123
}
}
],
"usageStatistics": {},
"metaData": {}
}
]GetInvoices returns a paginated list of invoices for the given Organisation. The query parameters from and to can be used to filter the invoices returned. If no query parameters are provided, this endpoint will return the upcoming invoice. If to is not provided, it will default to the current date. If from is not provided, it will default to a calendar month before the current date.
curl --request GET \
--url https://platform.versori.com/api/organisations/v1/organisations/{organisation_id}/billing/invoices \
--header 'Authorization: Bearer <token>'[
{
"invoiceStartDate": "2023-12-25",
"invoiceEndDate": "2023-12-25",
"totalAmount": {
"isNegative": true,
"currencyCode": "GBP",
"integral": 123,
"fractional": 123
},
"invoiceURL": "<string>",
"productBreakdowns": [
{
"productName": "<string>",
"quantity": 123,
"total": {
"isNegative": true,
"currencyCode": "GBP",
"integral": 123,
"fractional": 123
}
}
],
"usageStatistics": {},
"metaData": {}
}
]Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
OK
MonetaryValue is a monetary value, i.e. £12.50. It is represented as a whole number integral and a fractional part. The integral part is the whole number of pounds, dollars, ... and the fractional part is the number of pence, cents, ..., in the value. The isNegative property denotes if the value is negative.
Show child attributes
Show child attributes
Show child attributes
Show child attributes