v1
latestOpenAPI 3.0.02026-07-1315476656.4 KBVoucher
Book a voucher
Booking the voucher with a transaction is probably the most important part in the bookkeeping process.<br> There are several ways on correctly booking a voucher, all by using the same endpoint.<br> Conveniently, the booking process is exactly the same as the process for invoices.<br> For this reason, you can have a look at it <a href='#tag/Invoice/How-to-book-an-invoice'>here</a> and all you need to do is to change "Invoice" into "Voucher" in the URL.
put/Voucher/{voucherId}/bookAmount
Path parameters
voucherIdinteger required
ID of voucher to book
Request body
Example request
{
"checkAccount": {
"objectName": "CheckAccount"
},
"checkAccountTransaction": {
"objectName": "CheckAccountTransaction"
}
}Response
Successful operation - Returns voucher log entry
Example response
{
"objectName": "VoucherLog",
"create": "2023-04-18T15:45:38+02:00",
"voucher": {
"id": 2,
"objectName": "Voucher"
},
"bookingDate": "2023-04-18T15:45:38+02:00",
"sevClient": {
"id": 1,
"objectName": "SevClient"
}
}