Map to chart of accounts
map_to_chart_of_accountsConvert classified blockchain transactions into journal-entry-ready ledger lines mapped to your own chart of accounts, with debit/credit accounts, US tax authority references, and review flags.
Instructions
Map classified blockchain transactions into journal-entry-ready ledger lines against a chart of accounts. For each transaction (up to 100): debit account, credit account, optional gain/loss plug account, memo (protocol + reasoning), confidence, and a route-to-review flag, plus category roll-ups with the governing US tax authority (IRC §1001, §61, Rev. Rul. 2019-24, Rev. Rul. 2023-14, etc.). Pass your own chart_of_accounts (array of {name, type}) and the tool maps to YOUR account names; omit it for a standard crypto-treasury chart. Suggested, non-binding entries: the ledger platform owns amounts, cost basis, and posting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactions | Yes | Transactions to classify + map (max 100 per call). | |
| chart_of_accounts | No | Optional: your chart of accounts as [{name, type}]. Account names are pattern-matched per role (digital assets, income, fees, realized G/L, collateral, LP positions, loan payable). Omit for the standard chart. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| mapping_basis | No |