LedgerLou Docs ist für Desktop optimiert.

Bitte öffne diese Seite auf einem Gerät mit breiterem Bildschirm.

Debitoren · Offene Posten & OCR

Ausgangsrechnung per OCR extrahieren

Liest ein hochgeladenes Dokument per OCR und extrahiert strukturierte Rechnungsfelder (Kunde, Betraege, Positionen, Faelligkeiten). Das Ergebnis wird auf dem Dokument als ocr_result gespeichert.

extract_outgoing_invoice_data
Authorization
Authorization string header erforderlich API-Key im Format ll_.... Übergabe als Bearer Token im OAuth-Flow.
Scopes
debitoren:readjournal:write
Parameter
document_id string (uuid) erforderlich ID des zuvor hochgeladenen Dokuments
Antwort
200
Erfolgreich
MCP extract_outgoing_invoice_data
JSON
{
  "tool": "extract_outgoing_invoice_data",
  "params": {
    "document_id": "<string>"
  }
}
200 Response
JSON
{
  "customer_name": "<string>",
  "customer_vat_id": "<string>",
  "invoice_number": "<string>",
  "invoice_date": "<string>",
  "total_net": 1,
  "total_tax": 1,
  "total_gross": 1,
  "currency": "<string>",
  "line_items": [
    {
      "description": "<string>",
      "quantity": 1,
      "unit_price": 1,
      "tax_rate": 1,
      "line_total": 1
    }
  ]
}