/
Create a Financial Transa...
The cash account must belong to the requested location and be accessible to the user. An empty restricted account selection permits no accounts.
Security
BearerPartnerUser
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/finance_transactions/{location_id}
- Productionhttps://api.alteg.io/api/v1/finance_transactions/{location_id}
curl -i -X POST \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/finance_transactions/{location_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"expense_id": 2640,
"amount": 100,
"account_id": 39105,
"client_id": 4240788,
"supplier_id": 0,
"team_member_id": 0,
"comment": "Test transaction comment",
"date": "2026-08-29T10:00:00-05:00"
}'OK
Object with data
Example:
{ "id": 277016617, "document_id": 0, "date": "2026-09-21T23:00:00.000-05:00", "type_id": 5, "expense_id": 5, "account_id": 774020, "amount": 100, "client_id": 51520012, "master_id": 921395, "supplier_id": 0, "comment": "Transaction comment", "item_id": 0, "target_type_id": 0, "record_id": 0, "goods_transaction_id": 0, "expense": { "id": 5, "title": "Provision of services" }, "account": { "id": 774020, "title": "Archive location account", "is_cash": true, "is_default": false }, "client": { "id": 51520012, "name": "Sweeney Todd", "phone": "+13155550175", "email": "mail@example.com" }, "master": { "id": 921395, "name": "Valeria" }, "supplier": [] }
Response
{ "success": true, "data": { "id": 277016617, "document_id": 0, "date": "2026-09-21T23:00:00.000-05:00", "type_id": 5, "expense_id": 5, "account_id": 774020, "amount": 100, "client_id": 51520012, "master_id": 921395, "supplier_id": 0, "comment": "Transaction comment", "item_id": 0, "target_type_id": 0, "record_id": 0, "goods_transaction_id": 0, "expense": { … }, "account": { … }, "client": { … }, "master": { … }, "supplier": [] }, "meta": [] }