Banking

Receive a deposit as an invoice payment

Records the feed deposit as a customer payment: DR bank / CR Accounts Receivable through the hardened posting service, claiming the existing feed row inside the same transaction (no duplicate register row). Allocations are caller-chosen and capped at each invoice's amount due; any remainder above the allocations credits Customer Prepayments. Never posts to income.

post/bank-transactions/{bankTransactionId}/match-invoice

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/bank-transactions/{bankTransactionId}/match-invoice
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Path parameters

bankTransactionIdstring uuid required

Unposted bank-feed deposit UUID

Request body

method'bank_transfer' | 'cash' | 'check' | 'card' | 'other'
referencestring

Response

Posting receipt

Changes

No recorded changes to this operation across all 5 revisions of this API.