Skip to main content
GET
/
v1
/
sites
/
invoices
Invoices for all sites
curl --request GET \
  --url https://api.voltview.co.uk/v1/sites/invoices \
  --header 'Authorization: Bearer <token>'
[
  {
    "documentType": "invoice",
    "isStatement": true,
    "supplierName": "<string>",
    "supplierAccountNumber": "<string>",
    "customerName": "<string>",
    "billingAddress": "<string>",
    "items": [
      {
        "itemType": "invoice",
        "invoiceNumber": "<string>",
        "invoiceDate": "2023-12-25",
        "dueDate": "2023-12-25",
        "chargeStartDate": "2023-12-25",
        "chargeEndDate": "2023-12-25",
        "netAmount": 123,
        "vatAmount": 123,
        "totalAmount": 123,
        "previousBalance": 123,
        "outstandingBalance": 123,
        "supplyPoints": [
          {
            "mpanMprn": "<string>",
            "supplyType": "electricity",
            "meterSerialNumber": "<string>",
            "consumption": {
              "total": 123,
              "unit": "kWh"
            },
            "charges": [
              {
                "category": "energy",
                "description": "<string>",
                "chargeStartDate": "2023-12-25",
                "chargeEndDate": "2023-12-25",
                "startReading": 123,
                "endReading": 123,
                "readingType": "actual",
                "quantity": 123,
                "unit": "<string>",
                "rate": 123,
                "rateUnit": "<string>",
                "vatRate": 123,
                "netAmount": 123,
                "totalAmount": 123
              }
            ],
            "meterReadings": [
              {
                "date": "2023-12-25",
                "type": "actual",
                "reading": "<string>",
                "unit": "<string>",
                "register": "day"
              }
            ]
          }
        ]
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

JWT token obtained from /v1/requestToken endpoint

Response

Invoice information retrieved successfully

documentType
enum<string> | null

Type of document

Available options:
invoice,
statement,
credit_note,
debit_note
isStatement
boolean | null

Whether this document is a statement

supplierName
string | null

Name of the supplier

supplierAccountNumber
string | null

Supplier account number

customerName
string | null

Name of the customer

billingAddress
string | null

Billing address

items
object[] | null

Invoice line items