Banking

Edit an unposted feed transaction

Edit memo (description), reference, payee (contactId), or class (classId) before posting. The row's class is copied to the category line when it posts. On posted rows only contactId may change (the customer/vendor posts nothing); other edits return 409 — un-post first, or use reclassify.

patch/bank-transactions/{bankTransactionId}

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/bank-transactions/{bankTransactionId}
  • 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 transaction UUID

Request body

descriptionstring
referencestring nullable
contactIdstring uuid nullable
classIdstring uuid nullable

Active class UUID from GET /classes, or null to clear

allocationTemplateIdstring uuid nullable

Class allocation UUID from GET /class-allocations; splits the category line across its classes on post. Setting one clears classId.

Response

Updated

Changes

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