Lexoffice API notes
Posted on August 18, 2021 (Last modified on July 11, 2024) • 1 min read • 98 wordsMinimal invoice creation using the API.
{
"voucherDate": "2021-08-18T12:26:50.748Z",
"address": {
// if this is given the other fields become optional
"contactId": "139bdad3-7786-43e2-acf0-8c3eaf0ee8c7"
},
"lineItems": [
{
"type": "service",
"name": "Dienstleistungen",
"description": "Beschreibung",
"quantity": 5,
"unitName": "Stunde",
"unitPrice": {
"currency": "EUR",
"netAmount": 1,
"taxRatePercentage": 19
}
}
],
"totalPrice": {
"currency": "EUR"
},
"taxConditions": {
"taxType": "net"
},
"shippingConditions": {
// the API documentation is wrong, the API only accepts: custom / none / text
"shippingType": "none"
},
"title": "Rechnung",
"introduction": "Ihre bestellten Positionen stellen wir Ihnen hiermit in Rechnung",
"remark": "Vielen Dank für das entgegengebrachte Vertrauen"
}