Skip to main content
Glama
dgalarza

YNAB MCP Server

by dgalarza

update_transaction

Modify existing YNAB transaction details including amount, date, payee, category, and status to correct errors or update financial records.

Instructions

Update an existing transaction.

Args:
    budget_id: The ID of the budget (use 'last-used' for default budget)
    transaction_id: The ID of the transaction to update
    account_id: The account ID (optional - keeps existing if not provided)
    date: Transaction date in YYYY-MM-DD format (optional)
    amount: Transaction amount (optional)
    payee_name: Name of the payee (optional)
    category_id: Category ID (optional)
    memo: Transaction memo (optional)
    cleared: Cleared status - 'cleared', 'uncleared', or 'reconciled' (optional)
    approved: Whether the transaction is approved (optional)

Returns:
    JSON string with the updated transaction

Important Limitations:
    - Cannot add or update subtransactions on existing transactions
    - Cannot convert a regular transaction into a split transaction
    - If the transaction is already a split, its category_id cannot be changed
    - Split transaction dates and amounts cannot be modified
    - To create a split transaction, use create_split_transaction instead

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idNo
amountNo
approvedNo
budget_idYes
category_idNo
clearedNo
dateNo
memoNo
payee_nameNo
transaction_idYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dgalarza/ynab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server