GET /company/companies/@id/paynl/invoices
This endpoint requires authentication.
Header | Value |
---|---|
Authorization | Set the value to Bearer + + access_token |
Replace the @ keywords in the URL with their corresponding value.
A dictionary with fields
Field | Type | Description |
---|---|---|
id | Int | The id of the company |
Append the querystring with following properties to the URL.
A dictionary with fields
Field | Type | Description |
---|---|---|
shop_ids | String | Shop ids comma separated |
GET /company/companies/11/paynl/invoices?shop_ids=... HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.10.0
Accept-Language: en-US,en;q=0.5
Array of company.PaynlInvoice: [company.PaynlInvoice]
Field | Type | Description |
---|---|---|
id | Int | An integer value |
start_date | Date | Date in YYYY-MM-DD |
end_date | Date | Date in YYYY-MM-DD |
description | String | A String value |
amount | Int | Invoice amount in cents |
currency | Currency | 3 letter ISO 4217 currency name (string) |
url | URL | An URL field starting with http:// or https:// |
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: 653
[
{
"id": 11,
"start_date": "2019-01-31",
"end_date": "2019-01-31",
"description": "...",
"amount": 14,
"currency": "EUR",
"url": "https://example.com"
},
{
"id": 19,
"start_date": "2019-01-31",
"end_date": "2019-01-31",
"description": "...",
"amount": 17,
"currency": "EUR",
"url": "https://example.com"
},
{
"id": 17,
"start_date": "2019-01-31",
"end_date": "2019-01-31",
"description": "...",
"amount": 13,
"currency": "EUR",
"url": "https://example.com"
}
]