Skip to main content
POST
cURL

Field support per integration

This endpoint needs the Maesn app to be installed in the Business Central environment. If the app is not installed, Business Central returns an error. Please get in touch with your contact person at maesn to get the app.
If you’re not using the Interactive Authentication Flow, make sure the query parameters environmentName and companyId are correctly populated. You can obtain these values by using the GET Environments and GET Companies endpoints available under the Authentication section.
Books a payment that was created with POST /payments. Until it is booked, the payment does not reduce the open amount of the invoice.Path parameters:
string
required
The id of the payment you want to book.
Links a payment that was created with POST /payments to an invoice or voucher. The amount, date and bank account are taken from the payment.Supported request parameters:
enum
required
Available options: INVOICE, BOOKING_PROPOSAL
string
required
The id of the invoice or voucher.

Headers

X-API-KEY
string
required

API key

Example:

"example value"

X-ACCOUNT-KEY
string
required

Account key

Example:

"example value"

Path Parameters

paymentId
string
required

Query Parameters

companyId
string
environmentName
string

Body

application/json

sevdesk requires a document type and ID.

documentType
enum<string>
Available options:
INVOICE,
BILL,
BOOKING_PROPOSAL,
INVOICE_BOOKING_PROPOSAL,
BILL_BOOKING_PROPOSAL
Example:

"INVOICE"

documentId
string
Example:

"42"

Response

201 - application/json

Payment booked successfully

meta
object
data
string
Example:

"Payment booked"

Last modified on November 25, 2026