provider Books POST /books/agent-ledger-templates
@utdk/mercury /books/agent-ledger-templates
Create a Ledger Template
Create a new ledger within an agent-owned Chart of Accounts template.

Try it

Authentication
Configure credentials for Mercury API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

postbooksagentledgertemplates
POST/books/agent-ledger-templates
Create a new ledger within an agent-owned Chart of Accounts template.

Input

required

The COA Template Id.

required
required

Whether line entries can be manually added or removed from the ledger.

required
required
required
required

The name of the ledger.

If the ledger is a child Ledger, the ID of the parent ledger object.

required

Whether Teal includes this ledger in the cash flow report.

required

Determines the display order in reports, ordered digit by digit.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import mercury from '@utdk/mercury';

await mercury.postbooksagentledgertemplates()