Mastodon Mastodon - Lexoffice API notes
 logo
  • Home 
  • Tags 
  • Blog posts 
  1. Home
  2. Blog posts
  3. Lexoffice API notes

Lexoffice API notes

Posted on August 18, 2021  (Last modified on July 11, 2024) • 1 min read • 98 words
Saas   Lexware  
Saas   Lexware  
Share via

Minimal 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"
}
 jq snippets
JavaScript ISO date with local timezone 
In case you want to follow me

Here are some links. The further to the right, the less active.

           
(c) Axel Bock | Powered by Hinode.
Link copied to clipboard
Code copied to clipboard