Skip to main content
POST
Create manual Customer Invoice

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
customerId
string
required

ID of the customer this offer is meant for

Example:

"cst_abc12345def678"

invoiceNumber
string
required

Number of the invoice, as string

Example:

"2015-001"

issuedAt
string
required

Date when the invoice is issued, in YYYY-mm-dd format

Example:

"2025-04-14"

lines
object[]
required

Line in this invoice

sendNotification
boolean

Indicates if MijnKlantportaal should send out the notification to inform the customer about the new invoice

Example:

true

Response

Getting the created Customer Invoice

Customer Invoice

id
string

ID of the invoice, always starting with inv_.

Example:

"inv_abc12345def678"

customerId
string

ID of the customer which the invoice belongs to.

Example:

"cst_abc12345def678"

invoiceNumber
string

Number of the invoice as string.

Example:

"2024-001"

issuedAt
string

Issue date of the invoice. Formatted as YYYY-mm-dd.

Example:

"2024-04-29"

dueAt
string

Due date for the invoice, if available. Formatted as YYYY-mm-dd.

Example:

"2024-05-28"

currency
string

Currency of the invoice amount.

Example:

"EUR"

amount
string

Invoice amount as string.

Example:

"12.95"

paidAt
string | null

Date the invoice is marked as paid. Written in ATOM format.

Example:

"2024-05-28T21:00:00+02:00"

createdAt
string

Date and time when the invoice was added to MijnKlantportaal. Written in ATOM format.

Example:

"2024-04-29T21:00:00+02:00"