API

Create reconciliation rule

Changed on

Save an explicit rule: lines whose description contains text, in direction, post a movement to account_id (optional contact and cost centers). It applies at once to pending lines of open periods and on every later import. Lines that several rules match stay pending. Text is stored normalized (case, accents, spaces).

post/api/v1/reconciliation-rules

Request

Headers

Idempotency-Keystring required

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

Request body

bank_account_idstring uuid required
textstring required
direction'debit' | 'credit' required
account_idstring uuid required
contact_idstring uuid nullable
cost_center1_idstring uuid nullable
cost_center2_idstring uuid nullable
cost_center3_idstring uuid nullable
pausedboolean

Response

Treasury result or immutable replay

request_idstring required

Changes