List invoices
GET
/invoicesList all VAT invoices for the account.
Request
Query Params
page
integer
optional
Request samples
Responses
List of all invoices.(200)
List of all invoices.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {7}]
required
id
integer
required
Example:
8552
invoice_number
string
required
Example:
0000007513
created_at
string
required
Example:
2024-09-24T21:00:00.000000Z
amount
number
required
Amount without VAT adjustments.
Example:
15
amount_with_vat
number
required
Amount adjusted for your VAT when applicable.
Example:
18
type
string
required
Example:
proform
order_ids
array[integer]
required
links
object
required
first
string
required
last
string
required
prev
null
required
next
null
required
meta
object
required
current_page
integer
required
from
integer
required
last_page
integer
required
links
array [object {3}]
required
path
string
required
per_page
integer
required
to
integer
required
total
integer
required
Example
{
"data": [
{
"id": 8431,
"invoice_number": "0000007398",
"created_at": "2024-08-27T21:00:00.000000Z",
"amount": 90,
"amount_with_vat": 108,
"type": "proform",
"order_ids": [
7398
]
},
{
"id": 8425,
"invoice_number": "0000001594",
"created_at": "2024-08-04T21:00:00.000000Z",
"amount": 0,
"amount_with_vat": 0,
"type": "original",
"order_ids": [
7390
]
}
],
"links": {
"first": "https://api.vpsbg.eu/v1/invoices?page=1",
"last": "https://api.vpsbg.eu/v1/invoices?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "https://api.vpsbg.eu/v1/invoices?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "https://api.vpsbg.eu/v1/invoices",
"per_page": 30,
"to": 26,
"total": 26
}
}
Last modified: 3 months ago