Send invoice via email
Changed onThis endpoint sends the specified invoice to a customer via email.<br> This will automatically mark the invoice as sent.<br> Please note, that in production an invoice is not allowed to be changed after this happened!
Request
- Base URLhttps://my.sevdesk.de/api/v1
- AuthAPI key in header Authorization
Path parameters
ID of invoice to be sent via email
Request body
Response
Created - Returns created mail object
Example response
{
"create": "01.01.2020",
"update": "01.01.2020",
"object": {
"id": "1",
"objectName": "Invoice",
"invoiceNumber": "RE-1000",
"contact": {
"id": "1",
"objectName": "Contact"
},
"create": "2024-04-08T00:00:00+02:00",
"update": "2024-04-08T00:00:00+02:00",
"sevClient": {
"id": "1",
"objectName": "SevClient"
},
"invoiceDate": "2024-04-08T00:00:00+02:00",
"header": "My RE-1000",
"headText": "header information",
"footText": "footer information",
"timeToPay": "10",
"discountTime": "0",
"discount": "0",
"addressCountry": {
"id": "1",
"objectName": "StaticCountry"
},
"payDate": "2024-04-08T00:00:00+02:00",
"createUser": {
"id": "1",
"objectName": "SevUser"
},
"deliveryDate": "2024-04-08T00:00:00+02:00",
"status": "100",
"contactPerson": {
"id": "1",
"objectName": "SevUser"
},
"taxRate": "0",
"taxText": "Umsatzsteuer 19%",
"dunningLevel": "0",
"taxType": "default",
"paymentMethod": {
"id": "1",
"objectName": "PaymentMethod"
},
"costCentre": {
"id": "1",
"objectName": "CostCentre"
},
"sendDate": "2024-04-08T00:00:00+02:00",
"origin": {
"id": "1"
},
"invoiceType": "RE",
"accountIntervall": "2022-03-14",
"accountNextInvoice": "1647259198",
"reminderTotal": "0",
"reminderDebit": "0",
"reminderDeadline": "01.01.2020",
"reminderCharge": "0",
"taxSet": {
"id": "1",
"objectName": "TaxSet"
},
"address": "name\nstreet\npostCode city",
"currency": "EUR",
"sumNet": "100",
"sumTax": "19",
"sumGross": "119",
"sumDiscounts": "0",
"sumNetForeignCurrency": "0",
"sumTaxForeignCurrency": "0",
"sumGrossForeignCurrency": "0",
"sumDiscountsForeignCurrency": "0",
"sumNetAccounting": "0",
"sumTaxAccounting": "0",
"sumGrossAccounting": "0",
"enshrined": "2024-04-08T00:00:00+02:00",
"deliveryDateUntil": "2024-04-08T00:00:00+02:00",
"sendPaymentReceivedNotificationDate": "0"
},
"arrived": "01.01.2020"
}Changes
- warning
added the new
17enum value to the//response property for the response status - warning
added the new
18enum value to the//response property for the response status - warning
added the new
19enum value to the//response property for the response status - warning
added the new
20enum value to the//response property for the response status - warning
added the new
21enum value to the//response property for the response status - warning
added the new
ARenum value to the/response property for the response status - info
added the new optional request property
- warning
- warning
added the new
750enum value to the/response property for the response status - info
added the optional property
/to the response with the status
- warning