# YNAB

YNAB (You Need A Budget) is a budgeting tool helping users track expenses, plan finances, and gain control over spending to reduce debt

- **Category:** accounting
- **Auth:** OAUTH2
- **Tools:** 27
- **Triggers:** 0
- **Slug:** `YNAB`
- **Version:** 20260211_00

## Tools

### Create a new account in a budget

**Slug:** `YNAB_CREATE_ACCOUNT`

Tool to create a new account in a budget. Use when you need to add a manual (non-linked) account to a specific budget.

### Create Scheduled Transaction

**Slug:** `YNAB_CREATE_SCHEDULED_TRANSACTION`

Creates a scheduled (recurring) transaction in a YNAB budget. Use this to set up bills, recurring expenses, or income that repeats on a schedule. Requires an account_id (from YNAB_LIST_ACCOUNTS), a date, frequency, and amount in milliunits.

### Delete Scheduled Transaction

**Slug:** `YNAB_DELETE_SCHEDULED_TRANSACTION`

Permanently deletes a scheduled transaction from a YNAB budget. Use this when a recurring transaction is no longer needed. This action cannot be undone. Obtain the scheduled_transaction_id from list_scheduled_transactions or get_scheduled_transaction_by_id before calling this.

### Get Account by ID

**Slug:** `YNAB_GET_ACCOUNT_BY_ID`

Tool to retrieve a single account resource. Use when you need details of a specific account by its ID after determining the budget.

### Get Budget By ID

**Slug:** `YNAB_GET_BUDGET_BY_ID`

Retrieve a complete budget export by ID, including all accounts, categories, payees, and transactions. Use this tool when you need comprehensive budget data. The response includes: - Budget metadata (name, date/currency formats) - All accounts with balances - Category groups and categories with budgeted amounts and balances - All payees - All transactions and scheduled transactions (optional, may be large) For incremental syncing, use last_knowledge_of_server to only fetch changes since your last request. Note: Currency amounts are in 'milliunits' format (divide by 1000 for standard units).

### Get Budget Month

**Slug:** `YNAB_GET_BUDGET_MONTH`

Tool to retrieve a specific budget month. Use when you need detailed summary and category budgets for a given month after confirming the budget ID.

### Get Budget Settings

**Slug:** `YNAB_GET_BUDGET_SETTINGS`

Tool to retrieve budget-level settings. Use when you need to fetch currency and date formatting preferences for a specific budget.

### Get Category by ID

**Slug:** `YNAB_GET_CATEGORY_BY_ID`

Retrieve a single YNAB budget category by its ID. Use this to get detailed category information including budgeted amounts, activity, balance, and goal settings. Amounts are returned for the current budget month (UTC). Requires both budget_id and category_id - use 'last-used' or 'default' for budget_id if you don't have a specific budget ID.

### Get Month Category By ID

**Slug:** `YNAB_GET_MONTH_CATEGORY_BY_ID`

Tool to retrieve a single category for a specific budget month. Use after selecting the budget and month when you need month-specific category details.

### Get Payee by ID

**Slug:** `YNAB_GET_PAYEE_BY_ID`

Tool to retrieve a single payee by its ID. Use when you need full details of a payee after confirming the budget and payee selection.

### Get Scheduled Transaction by ID

**Slug:** `YNAB_GET_SCHEDULED_TRANSACTION_BY_ID`

Tool to retrieve a single scheduled transaction. Use when you need details of a specific scheduled transaction by its ID after confirming the budget.

### Get Transaction by ID

**Slug:** `YNAB_GET_TRANSACTION_BY_ID`

Tool to retrieve a single transaction by its ID. Use when you need detailed information for a specific transaction after confirming the budget.

### Get Authorized User

**Slug:** `YNAB_GET_USER`

Tool to retrieve the authorized user's information. Use after authentication to get current user details.

### List Accounts

**Slug:** `YNAB_LIST_ACCOUNTS`

Retrieves all accounts for a specified YNAB budget. Use this tool to: - Get a complete list of accounts (checking, savings, credit cards, loans, etc.) in a budget - Retrieve account IDs for use with other YNAB account-related operations - Monitor account balances (current, cleared, and uncleared) - Perform efficient delta syncing by passing last_knowledge_of_server Returns account details including balances in milliunits (1000 milliunits = 1 currency unit). For example, a balance of 150000 milliunits equals $150.00. Note: Use 'default' or 'last-used' as budget_id for convenience, or obtain specific budget UUIDs from the List Budgets endpoint.

### List Budgets

**Slug:** `YNAB_LIST_BUDGETS`

Retrieves all budgets accessible to the authenticated YNAB user. Use this tool to: - Get a list of all budgets in the user's YNAB account - Retrieve budget IDs for use with other YNAB operations - Optionally include account details for each budget Returns budget summaries including name, last modification time, date range, and formatting preferences. Budget IDs from this response are required for most other YNAB API operations.

### List Categories

**Slug:** `YNAB_LIST_CATEGORIES`

Tool to list all category groups and their categories for a budget. Use when you need the full set of budget categories or only those changed since last sync.

### List Budget Months

**Slug:** `YNAB_LIST_MONTHS`

Tool to list months for a budget with summary information. Use when you need an overview of all months or only changed months since a given knowledge value (delta requests).

### List Payee Locations

**Slug:** `YNAB_LIST_PAYEE_LOCATIONS`

Retrieves all GPS locations associated with payees in a budget. Payee locations are recorded when transactions are saved using the YNAB mobile apps, storing GPS coordinates to help pre-populate nearby payees. Use this tool when you need to find all recorded locations for payees in a budget. Note: Not all payees will have locations recorded.

### List Payee Locations by Payee

**Slug:** `YNAB_LIST_PAYEE_LOCATIONS_BY_PAYEE`

Retrieves all GPS locations associated with a specific payee in a budget. Payee locations are recorded when transactions are saved using the YNAB mobile apps, storing GPS coordinates to help pre-populate nearby payees. Use this tool when you need to find where a payee's transactions typically occur. Note: Not all payees will have locations recorded.

### List payees in a budget

**Slug:** `YNAB_LIST_PAYEES`

Tool to list payees in a budget. Use when you need all payees or only those changed since a known server knowledge value.

### List Scheduled Transactions

**Slug:** `YNAB_LIST_SCHEDULED_TRANSACTIONS`

List all scheduled (recurring) transactions for a YNAB budget. Returns future-dated transactions that repeat on a schedule (e.g., rent, subscriptions, paychecks). Supports delta sync to fetch only changes since a previous request using the server_knowledge value.

### List Transactions

**Slug:** `YNAB_LIST_TRANSACTIONS`

Tool to list transactions in a budget. Use when you need all or delta-filtered transactions after confirming the budget.

### List Transactions by Account

**Slug:** `YNAB_LIST_TRANSACTIONS_BY_ACCOUNT`

Tool to list transactions for a specific account. Use when you need all or delta-filtered transactions for a given account after confirming the budget and account ID.

### List Transactions by Category

**Slug:** `YNAB_LIST_TRANSACTIONS_BY_CATEGORY`

Tool to list transactions for a specific category (excludes pending). Use when you need completed transactions for a given category after obtaining budget_id and category_id.

### List Transactions by Payee

**Slug:** `YNAB_LIST_TRANSACTIONS_BY_PAYEE`

Tool to list transactions for a specific payee in a budget. Use when you need to fetch all non-pending transactions for a payee after confirming budget and payee IDs.

### Update Payee

**Slug:** `YNAB_UPDATE_PAYEE`

Tool to update a payee. Use when you need to rename an existing payee.

### Update Scheduled Transaction

**Slug:** `YNAB_UPDATE_SCHEDULED_TRANSACTION`

Update an existing scheduled transaction in YNAB. Allows modifying the date, frequency, amount, payee, category, memo, or account of a scheduled transaction. Use YNAB_LIST_SCHEDULED_TRANSACTIONS first to get the scheduled_transaction_id. Amounts should be in milliunits (negative for expenses, positive for income).
