API

Resolve statement line

Changed on

Link existing records first, else create a manual movement or own-account transfer, or exclude with a reason. Link also accepts open sales and purchases with partial amounts: La Pyme creates one cobranza or pago per contact on the line date. Adjustments post differences such as fees, IVA or withholdings to accounts. Amounts are signed native cents of the bank effect (sales positive, purchases negative); targets plus adjustments must equal the line, else the request is refused with the remaining amount. Sale or purchase targets, and undoing created payments, also need payments:write. API and MCP resolutions record agent with the optional reason. Undo restores pending and removes records created by this resolution atomically, including created payments and adjustments. A movement with remember.text also saves a rule: later lines whose description contains the text, in this line's direction, post to the same account; matching pending lines resolve now.

post/api/v1/statements/lines/{statement_line_id}/resolve

Request

Path parameters

statement_line_idstring uuid required

Headers

Idempotency-Keystring required

Clave estable para deduplicar reintentos de la misma operación.

Request body

OR
OR
OR
OR

Response

Treasury result or immutable replay

request_idstring required

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the new optional request property /

    • info

      added the optional property / to the response with the status