GET
/
v1
/
sites
/
invoices
curl --request GET \
  --url https://api.voltview.co.uk/v1/sites/invoices \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "siteId": "<string>",
    "utility": "ELECTRICITY",
    "invoiceNumber": "<string>",
    "issueDate": "2023-12-25",
    "dueDate": "2023-12-25",
    "startDate": "2023-12-25",
    "endDate": "2023-12-25",
    "amount": 123,
    "status": "PAID",
    "pdfUrl": "<string>"
  }
]

Authorizations

Authorization
string
header
required

JWT token obtained from /v1/requestToken endpoint

Response

200
application/json
Invoice information retrieved successfully
id
string
required

Invoice identifier

siteId
string
required

Site identifier

invoiceNumber
string
required

Invoice number

amount
number
required

Invoice amount in GBP

utility
enum<string>

Utility type

Available options:
ELECTRICITY,
GAS,
WATER
issueDate
string

Issue date

dueDate
string

Due date

startDate
string

Service period start date

endDate
string

Service period end date

status
enum<string>

Invoice status

Available options:
PAID,
PENDING,
OVERDUE
pdfUrl
string

URL to download invoice PDF