cURL
curl --request POST \ --url https://api.sandbox.teal.dev/v0/platform-gl/coa-templates/{coa_template_id}/ledgers \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "editable": false, "debit_credit": "debit", "financial_account_type": "bank_account", "ledger_sub_type": "current_assets", "ledger_type": "asset", "name": "Pluto Checking 4242", "parent_id": null, "report_cash_flow": true, "sort_code": "1400" }'
{ "id": "7JRNsKwy2Lw66caxVU7WGC", "children": null, "debit_credit": "debit", "editable": false, "financial_account_type": "bank_account", "is_required": false, "name": "Pluto Checking 4242", "parent_id": null, "report_cash_flow": true, "sort_code": "1400", "sub_type": "current_assets", "type": "asset" }
Creates a new Ledger Template within a Chart of Accounts Template.
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the Chart of Accounts Template.
Successful Response
The response is of type object.
object