Create transactions
create_transactionsCreate one or more YNAB transactions in one request, including spending, income, transfers, and splits. Use it to record receipts, payroll, account transfers, or categorized split entries.
Instructions
Create one or more transactions in one request.
Use this to enter spending from a receipt, record income, enter a transfer between accounts, or add a split transaction. Calling this twice enters the transactions twice.
Example entries:
Spending: account_id=, date=2024-03-02, amount=-43.17, payee_name="Kroger", category_id=
Income: amount=2500, payee_name="Acme Payroll", category_id=<Inflow: Ready to Assign>
Transfer: account_id=, amount=-200, transfer_account_id=, no category
Split: amount=-80, payee_name="Target", no category, splits=[ {amount: -50, category_id: }, {amount: -30, category_id: }]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| transactions | Yes | The transactions to create (required) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |