LedgerLou Docs is optimized for desktop.

Please open this page on a device with a wider screen.

Receivables · Open items & OCR

Extract AR invoice via OCR

Reads an uploaded document via OCR and extracts structured invoice fields (customer, amounts, line items, due dates). The result is stored on the document as ocr_result.

extract_outgoing_invoice_data
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token in the OAuth flow.
Scopes
debitoren:readjournal:write
Parameters
document_id string (uuid) required ID of the previously uploaded document
Response
200
Success
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
    }
  ]
}