Invoice
Book an invoice
Changed onBooking the invoice with a transaction is probably the most important part in the bookkeeping process.<br> There are several ways on correctly booking an invoice, all by using the same endpoint.<br> for more information look <a href='#tag/Invoice/How-to-book-an-invoice'>here</a>.
put/Invoice/{invoiceId}/bookAmount
Request
- Base URLhttps://my.sevdesk.de/api/v1
- AuthAPI key in header Authorization
Path parameters
invoiceIdinteger required
ID of invoice to book
Request body
Example request
{
"checkAccount": {
"objectName": "CheckAccount"
},
"checkAccountTransaction": {
"objectName": "CheckAccountTransaction"
}
}Response
Successful operation - Returns changed invoice log entry
Example response
{
"objectName": "InvoiceLog",
"create": "2023-04-18T15:45:38+02:00",
"creditNote": {
"id": 2,
"objectName": "Invoice"
},
"bookingDate": "2023-04-18T15:45:38+02:00",
"sevClient": {
"id": 1,
"objectName": "SevClient"
}
}Changes
- info
added the new
FULL_PAYMENTenum value to the request property
- info