Create account
create_accountCreate a manually tracked YNAB account, such as cash or a savings account, without linking a bank. Set the account name, type, and starting balance.
Instructions
Create an account that the user tracks by hand, such as cash or a new savings account. The account is not connected to a bank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Account name (required) | |
| type | Yes | Account type: "checking", "savings", "cash", "creditCard", "otherAsset", or "otherLiability" (required) | |
| balance | Yes | Starting balance in currency units. Use a negative balance for money owed on a credit card or liability (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique account identifier | |
| name | Yes | User-defined account name | |
| note | No | User-defined account notes | |
| type | Yes | Account type. Common values: 'checking', 'savings', 'creditCard', 'cash', 'lineOfCredit', 'otherAsset', 'otherLiability', 'mortgage', 'autoLoan', 'studentLoan', 'personalLoan', 'medicalDebt', 'otherDebt' | |
| closed | Yes | Whether this account has been closed | |
| balance | Yes | Current balance in currency units | |
| on_budget | Yes | Whether this account's money is part of the plan | |
| cleared_balance | Yes | Balance of cleared transactions in currency units | |
| transfer_payee_id | Yes | Payee to use on a transaction that transfers into this account | |
| uncleared_balance | Yes | Balance of uncleared transactions in currency units | |
| last_reconciled_at | No | When the account was last reconciled | |
| debt_escrow_amounts | No | Escrow amounts by date for mortgage accounts. Keys are dates, values are escrow amounts in currency units | |
| debt_interest_rates | No | Interest rates by date for debt accounts. Keys are dates, values are interest rates as decimals (e.g., 0.03375 for 3.375%) | |
| direct_import_linked | No | Whether the account imports from a bank connection | |
| debt_minimum_payments | No | Minimum payment amounts by date for debt accounts. Keys are dates, values are payment amounts in currency units | |
| direct_import_in_error | No | Whether the bank connection needs the user's attention |