Skip to main content
GET
/
organisations
/
{organisation_id}
/
billing
/
invoices
Get Invoices
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": {}
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organisation_id
string
required

Query Parameters

from
string<date>
to
string<date>

Response

OK

invoiceStartDate
string<date>
required
invoiceEndDate
string<date>
required
totalAmount
object
required

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.

invoiceURL
string<uri>
required
productBreakdowns
object[]
usageStatistics
object
metaData
object