Treasury

Create Treasury Movement

Creates a new client’s treasury movement.

post/api/v3/clients/{client_id}/treasury_movements.json

Path parameters

client_idstring required
Example:12345

ID of the client.

Query parameters

api_keystring required
Example:YOUR_API_KEY

Your API Key.

Request body

Example request

{
  "treasury_movement": {
    "value": 123.45,
    "movement_type": "Reimbursement",
    "payment_method": "MB",
    "date": "2023-04-28",
    "serie": "2023",
    "observation": "Payment observation"
  }
}

Response

SUCCESS

Example response

{
  "treasury_movement": {
    "value": 123.45,
    "movement_type": "Reimbursement",
    "payment_method": "MB",
    "date": "2023-04-28",
    "serie": "2023"
  }
}

Changes

Changed in 1 of the 3 revisions of this API.21

  • 5b82d4eb0d9f21See the full diff
    • the response property treasury_movement/observation became nullable for the status 201

      response-property-became-nullable

    • the errors response's property type/format changed from object/ to array/ for status 401

      response-property-type-changed

    • removed the optional property errors/error from the response with the 401 status

      response-optional-property-removed

    This revision also has 10 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog