curl -X POST https://kube.acho.io/service/general-ledger/accounts \ -H "Authorization: jwt YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "account_id": "11100", "account_number": 11100, "account_name": "Cash - Operating", "account_type": "Asset", "normal_balance": "debit", "currency": "USD", "balance": 0, "opening_balance": 0, "is_summary": false, "is_inactive": false }'
{ "account_id": "11100", "account_number": 11100, "account_name": "Cash - Operating", "account_type": "Asset", "normal_balance": "debit", "currency": "USD", "balance": 0, "opening_balance": 0, "is_summary": false, "is_inactive": false, "created_at": "2024-01-15T10:30:00Z", "updated_at": "2024-01-15T10:30:00Z" }
Create a new GL account
jwt YOUR_TOKEN
application/json
Asset
Liability
Equity
Revenue
Expense
debit
credit
USD
EUR