LedgerLou Docs is optimized for desktop.

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

Journal

Get intent

Returns the fully aggregated view of a booking, identified by its intent UUID. The response contains all related journal lines including account names and amounts, the complete audit provenance (creation timestamp, originator as user or API key label, source channel such as dashboard, API, MCP or bank reconciliation) as well as the GoBD hash chain (audit_hash, prev_hash, journal_number) for gapless verification. Also included are linked documents and bank transactions, reversal references in both directions (which intent this booking reverses and by which intent it was itself reversed) and AR/AP settlement links (which open items are settled here and which payments settle this booking). This makes the endpoint the central entry point for audit workflows: for every booked intent you can trace, without gaps, who booked when via which channel, which documents and bank transactions are linked, and whether a reversal exists.

GET /v1/journal/:intent_id
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token.
Responses
200
Success
400
INVALID_INPUT Required fields are missing or values do not match the expected format.
404
NOT_FOUND The requested resource was not found.
GET /v1/journal/:intent_id
cURL
-cmd">curl --request -method">GET -punct">\
  --url 'https://api.ledgerlou.de/v1/journal/:intent_id' -punct">\
  --header 'Authorization: Bearer ll_your_key'
200 Response
JSON
Full audit view per intent: all lines with account names and provenance, GoBD hash chain, linked documents and bank transactions, reversal references and AR/AP settlement links.
{
  "intent_id": "<string>",
  "entries": [
    {
      "id": "<string>",
      "intent_id": "<string>",
      "journal_number": 1,
      "booking_date": "<string>",
      "account_debit": "<string>",
      "account_credit": "<string>",
      "account_debit_name": "<string>",
      "account_credit_name": "<string>",
      "amount": 1,
      "currency": "<string>",
      "description": "<string>",
      "created_at": "<string>",
      "created_by": "<string>",
      "source": "<string>",
      "document_id": "<string>",
      "reverses_intent_id": null,
      "audit_hash": "<string>",
      "prev_hash": "<string>",
      "provenance_summary": {
        "surface": "<string>",
        "surface_label": "<string>",
        "channel": "<string>",
        "channel_label": "<string>",
        "actor_type": "<string>",
        "actor_label": "<string>",
        "actor_key_prefix": "<string>",
        "actor_display": "<string>"
      }
    }
  ],
  "summary": {
    "booking_date": "<string>",
    "description": "<string>",
    "source": "<string>",
    "created_at": "<string>",
    "created_by": "<string>",
    "created_by_label": "<string>",
    "provenance_summary": {
      "surface": "<string>",
      "surface_label": "<string>",
      "channel": "<string>",
      "channel_label": "<string>",
      "actor_type": "<string>",
      "actor_label": "<string>",
      "actor_key_prefix": "<string>",
      "actor_display": "<string>"
    },
    "document_id": "<string>",
    "reverses_intent_id": null,
    "reversed_by_intent_id": null,
    "total_amount": 1,
    "currency": "<string>",
    "journal_number_min": 1,
    "journal_number_max": 1,
    "fx": null,
    "external_reference": null,
    "custom_metadata": null
  },
  "linked_intents": {
    "settles_intent_ids": [],
    "settlement_intent_ids": []
  },
  "metadata": {
    "intent_category": "<string>",
    "confidence": 1,
    "source_type": "<string>",
    "confirmed_at": "<string>",
    "confirmed_by": "<string>",
    "original_description": "<string>",
    "document_id": "<string>",
    "bank_transaction_id": null,
    "is_split_booking": true,
    "total_lines": 1,
    "duplicate_override": true,
    "fx": null,
    "reversal": null,
    "external_reference": null,
    "custom_metadata": null,
    "lines": [
      {
        "line_index": 1,
        "content_hash": "<string>",
        "debit_account": {
          "number": "<string>",
          "name": "<string>"
        },
        "credit_account": {
          "number": "<string>",
          "name": "<string>"
        },
        "fx_amount": null
      }
    ]
  }
}