LedgerLou Docs is optimized for desktop.

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

Payables · Email inbox

Get inbox document

Returns a single document from the email inbox, including the full OCR extraction (raw markdown) and vendor matching.

get_inbox_document
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token in the OAuth flow.
Scopes
kreditoren:read
Parameters
inbox_id string (uuid) required UUID of the inbox entry
Response
200
Success
MCP get_inbox_document
JSON
{
  "tool": "get_inbox_document",
  "params": {
    "inbox_id": "<string>"
  }
}
200 Response
JSON
{
  "id": "<string>",
  "document_id": "<string>",
  "status": "<string>",
  "ocr_extraction": {
    "vendor_name": "<string>",
    "invoice_number": "<string>",
    "total_gross": 1
  },
  "ocr_raw": "<string>",
  "vendor_match": {
    "status": "<string>",
    "vendor_id": "<string>",
    "confidence": 1
  },
  "source_email": "<string>",
  "original_name": "<string>"
}