Get paynl invoices

GET /company/companies/@id/paynl/invoices

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

URL parameters

Replace the @ keywords in the URL with their corresponding value.

A dictionary with fields

Field Type Description
id Int The id of the company

Query string (URL)

Append the querystring with following properties to the URL.

A dictionary with fields

Field Type Description
shop_ids String Shop ids comma separated

Example request 1

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

Response

Array of company.PaynlInvoice: [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://

Example response 1

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"
    }
]
This is a development version Do not use this version in production
1.10.0 development