CreditNote
Book a credit note
Changed onBooking the credit note with a transaction is probably the most important part in the bookkeeping process.<br> There are several ways on correctly booking a credit note, all by using the same endpoint.<br> Conveniently, the booking process is exactly the same as the process for invoices and vouchers.<br> For this reason, you can have a look at it in the <a href='#tag/Invoice/How-to-book-an-invoice'>invoice chapter</a> and all you need to do is to change "Invoice" into "CreditNote" in the URL.
put/CreditNote/{creditNoteId}/bookAmount
Request
- Base URLhttps://my.sevdesk.de/api/v1
- AuthAPI key in header Authorization
Path parameters
creditNoteIdinteger required
ID of credit note to book
Request body
Example request
{
"checkAccount": {
"objectName": "CheckAccount"
},
"checkAccountTransaction": {
"objectName": "CheckAccountTransaction"
}
}Response
Successful operation - Returns changed invoice log entry
Example response
{
"objectName": "CreditNoteLog",
"create": "2023-04-18T15:45:38+02:00",
"creditNote": {
"id": 2,
"objectName": "CreditNote"
},
"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
- info
the endpoint scheme security
api_keywas added to the API
- info