{
"type": "object",
"properties": {
"invoice_date": {
"type": "string",
"format": "date",
"description": "Rechnungsdatum (YYYY-MM-DD)"
},
"contact_id": {
"type": "string",
"description": "lexoffice Kontakt-ID des Kunden"
},
"item_name": {
"type": "string",
"description": "Bezeichnung der Leistung/des Produkts",
"examples": ["Beratungsleistung", "Software-Lizenz", "Projekt-Setup"]
},
"quantity": {
"type": "number",
"description": "Menge/Anzahl",
"minimum": 0.01
},
"unit": {
"type": "string",
"description": "Einheit (z.B. 'Stück', 'Stunden', 'Pauschal')",
"default": "Stück"
},
"net_amount": {
"type": "number",
"description": "Netto-Einzelpreis in Euro",
"minimum": 0.01
},
"tax_rate": {
"type": "integer",
"enum": [0, 7, 19],
"description": "Umsatzsteuersatz in Prozent",
"default": 19
},
"tax_type": {
"type": "string",
"enum": ["net", "gross"],
"description": "Steuertyp (Netto- oder Bruttopreisangabe)",
"default": "net"
}
},
"required": ["invoice_date", "contact_id", "item_name", "quantity", "net_amount"]
}