curl -X PUT https://kube.acho.io/service/general-ledger/accounts/11100 \ -H "Authorization: jwt YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "account_name": "Cash - Main Operating Account", "is_inactive": false }'
{ "account_id": "11100", "account_number": 11100, "account_name": "Cash - Main Operating Account", "account_type": "Asset", "normal_balance": "debit", "currency": "USD", "balance": 50000.00, "opening_balance": 45000.00, "is_summary": false, "is_inactive": false, "created_at": "2024-01-01T00:00:00Z", "updated_at": "2024-01-15T14:30:00Z" }
Update an existing GL account
jwt YOUR_TOKEN
application/json
true
account_number
account_type
normal_balance
currency