Create account
Accounting
Create account
Create a new account for an organisation.
POST
Create account
Authorizations
Body
application/json
not accepting parent_path as of now as we only want to allow the user to create a top-level account. creating a child account is a more involved task. Eg. if an account has journal lines, and no child account initially. Then a new child account is created, we need to update the account_id in all the journal lines of that account. Problems: How do we sync it to connector? Accounting connector currently relies of knowing the account mapping beforehand. Also we don't know if connectors allow us to update the account ID of lines in locked journal entries.
Response
Successful Response
Available options:
Assets, Liabilities, Equity, Income, Expenses Available options:
credit, debit