Delete treasury movement

DELETE /api/v3/clients/:client-id/treasury_movements/:id.json Deletes a client’s treasury movement. Example Request curl Ruby Node Python PHP Go Path Parameters Name Type Required Description Example client-id Integer Required The ID of the client you want to get. 42 id Integer Required The ID of the treasury movement you want to delete. 1 Responses 201 SUCCESS Accounts Create response […]

Create treasury movement

POST /api/v3/clients/:client-id/treasury_movements.json Creates a new client’s treasury movement. Example Request curl Ruby Node Python PHP Go Path Parameters Name Type Required Description Example client-id Integer Required The ID of the client you want to create a treasury movement. 42 Request Body Name Type Required Description treasury_movement Object Required Treasury movement data to be created value […]

Delete regularization

DELETE /api/v3/clients/:client-id/regularization/:id.json Deletes a client’s regularization. Example Request curl Ruby Node Python PHP Go Path Parameters Name Type Required Description Example client-id Integer Required The ID of the client you want to get. 42 id Integer Required The ID of the regularization you want to delete. 1 Responses 201 SUCCESS Accounts Create response 401 ACCESS […]

Create regularization

POST /api/v3/clients/:client-id/regularization.json Creates a new client’s regularization. Example Request curl Ruby Node Python PHP Go Path Parameters Name Type Required Description Example client-id Integer Required The ID of the client you want to create regularization. 42 Request Body Name Type Required Description regularization Object Required Account data to be created value Number Required Regularization value […]

Get regularization

GET /api/v3/clients/:client-id/regularization.json Returns a list of all your client’s regularization. Example Request curl Ruby Node Python PHP Go Path Parameters Name Type Required Description Example client-id Integer Required The ID of the client you want to get. 42 Responses 200 SUCCESS Clients Get 401 ACCESS DENIEDThe API Key parameter is missing or is incorrectly entered. […]

Update initial balance

PUT /api/v3/clients/:client-id/initial_balance.json Updates the initial balance of a specific client. Example Request curl Ruby Node Python PHP Go Path Parameters Name Type Required Description Example client-id Integer Required The ID of the client to be updated 42 Request Body Name Type Required Description initial_balance Object Required Initial balance data to be updated value Number Required […]

Get client balance

GET /api/v3/clients/:client-id/balance.json Returns the balance of a specific client. Example Request curl Ruby Node Python PHP Go Path Parameters Name Type Required Description Example client-id Integer Required The ID of the client you want to get. 42 Responses 200 SUCCESS Clients Get 401 ACCESS DENIEDThe API Key parameter is missing or is incorrectly entered. (Empty […]

Export saft

GET /api/export_saft.json Generates the SAF-T file for a specific date (month and year). The first response given will have a HTTP 202 code, meaning the generation was started. You need to keep requesting until you get a response with HTTP status code 200, and the url to download the file in the message body. Example […]

At Communication

POST /api/v3/accounts/at_communication.json Update or create at user, at password and communication type. Example Request curl Ruby Node Python PHP Go Request Body Name Type Required Description at_subuser String Required AT subuser, ust be in the format 123456789/X.Regex: (^\d{9}/). at_password String Required AT password. Must be encoded in Base64. communication_type String Required Communication type can be auto, guides, manual […]

Create for existing user

POST /api/accounts/create_already_user.json Creates a new account and associates it with an already existing user. The email and password required are the ones of your existing user. Example Request curl Ruby Node Python PHP Go Request Body Name Type Required Description Account Object Required Data of the account to be created, with your existing email and […]