Invoice

An object that contains information about an order or a refund on that order.

Field name

Type

Description

invoice_number

String

The invoice_number of the invoice.

type

String

The type of invoice, can be invoice or credit-invoice.

created_at

String

The date and time the invoice was created in UTC format.

generated_at

String

The date and time the pdf was generated in UTC format.

merchant

Merchant

The merchant on who’s behalf we created the invoice.

consumer

Consumer

The consumer data as shown on the invoice.

Examples

Create an invoice for an order

[POST] https://shopping-api.paylogic.com/invoices
{
    "order": "https://shopping-api.paylogic.com/order/456ghtr45tg678fe5rf456yhgbvsw3lh",
    "consumer": {
        "company_name": "John",
        "address": "Nieuwe Boteringestraat 28",
        "postal_code": "9716 JJ",
        "city": "Groningen",
        "country": "NL",
        "vat_number": "123456"
    }
}