API

create manual Treasury movement

Changed on

Use native currency cents. Financial and other operating income accounts are allowed; sales revenue is blocked. USD outflows use carrying value. The path ID is treasury_adjustments.id or treasury_movement_id from lists, not the unified row id. Payments and transfers require their own tools. Registers are excluded.

post/api/v1/treasury/movements

Request

  • Base URL
    https://api.lapyme.com.ar
  • URL
    https://api.lapyme.com.ar/api/v1/treasury/movements
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring required

Request body

direction'inflow' | 'outflow' required
amountinteger required
occurred_onstring date required
account_idstring uuid nullable
contact_idstring uuid nullable
exchange_ratenumber nullable
descriptionstring nullable
referencestring nullable
notestring nullable
cost_center1_idstring uuid nullable
cost_center2_idstring uuid nullable
cost_center3_idstring uuid nullable
updated_atstring date-time

Response

Movement saved

request_idstring required

Changes