LedgerLou Docs is optimized for desktop.

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

Bank

Run batch reconciliation

Reconciles multiple bank transactions in a single call.

POST /v1/bank-transactions/batch-reconcile
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token.
Request Body
pairs array required Match pairs (min. 1)
Match pair
bank_transaction_id uuid required Transaction ID
intent_id uuid required Booking intent
candidate_kind string required "bank_booking", "open_receivable" or "open_liability"
open_item_account string optional Account for open items
Responses
200
Success
400
INVALID_INPUT Required fields are missing or values do not match the expected format.
POST /v1/bank-transactions/batch-reconcile
cURL
-cmd">curl --request -method">POST -punct">\
  --url 'https://api.ledgerlou.de/v1/bank-transactions/batch-reconcile' -punct">\
  --header 'Authorization: Bearer ll_your_key' -punct">\
  --header 'Content-Type: application/json' -punct">\
  --data '{
  "pairs": [
    {
      "bank_transaction_id": "a1b2c3d4-...",
      "intent_id": "b2c3d4e5-...",
      "candidate_kind": "bank_booking"
    },
    {
      "bank_transaction_id": "c3d4e5f6-...",
      "intent_id": "d4e5f6a7-...",
      "candidate_kind": "open_receivable",
      "open_item_account": "1200"
    }
  ]
}'
200 Response
JSON
{
  "reconciled": 1,
  "errors": []
}