treasury.write
This is an explicit permission: it must be checked in External integrations; existing integrations do not receive it automatically. To query the records, use the
treasury permission (Banks, petty cash funds and checkbooks).bank_id, petty_cash_id and checkbook_id in collections and payments.
Create bank
Response
201
Edit bank
Behavior
- Only the fields you send change.
- The balance is not edited through the API: it changes with the collections, payments and movements registered in FileXpress.
200: the updated bank (same format as creation).
Create petty cash fund
Response
201
Edit petty cash fund
Behavior: only the fields sent change. The balance is not edited through the API; it changes with fund top-ups, expenses, supplier payments and customer cash collections.
Response
200: the updated petty cash fund.
Create checkbook
Behavior: the checkbook is created in
ACTIVE status and its current number (current_number) is start_number.
Response 201
Edit checkbook
Behavior: the number range and the bank cannot be changed. To pay by check, the checkbook must be
ACTIVE.
Response 200: the updated checkbook.