LedgerLou Docs is optimized for desktop.

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

Payables

Fetch incoming document details

Returns a single incoming document, including full OCR extraction, raw OCR markdown, vendor matching and UStG §14 mandatory-field checks.

GET /v1/inbox/:id
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token.
Responses
200
Success
GET /v1/inbox/:id
cURL
-cmd">curl --request -method">GET -punct">\
  --url 'https://api.ledgerlou.de/v1/inbox/:id' -punct">\
  --header 'Authorization: Bearer ll_your_key'
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
  },
  "compliance_check": {
    "document_type": "<string>",
    "is_invoice": true,
    "compliant": true,
    "passed": 1,
    "total": 1,
    "checks": [
      {
        "rule": "<string>",
        "label": "<string>",
        "status": "<string>"
      }
    ]
  },
  "source_email": "<string>",
  "source_subject": "<string>",
  "original_name": "<string>",
  "created_at": "<string>"
}