ynab_create_scheduled_transaction
Create recurring scheduled transactions in YNAB. Preview first with a dry run, then execute using the returned confirmation token for safe creation.
Instructions
Create a recurring scheduled transaction. Prefer amount_decimal; amount_milliunits is available for already-converted values.
Write safety: call without confirmation_token to preview. Execute the identical validated request with the short-lived confirmation_token returned by that preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| memo | No | ||
| amount | No | Deprecated legacy alias for amount_milliunits. Use amount_decimal for currency input or amount_milliunits for raw YNAB values. | |
| dry_run | No | ||
| payee_id | No | ||
| budget_id | No | ||
| frequency | Yes | ||
| account_id | Yes | ||
| flag_color | No | ||
| payee_name | No | ||
| category_id | No | ||
| amount_decimal | No | Preferred: amount in decimal currency units (for example, -12.34). Rounded exactly to the nearest YNAB milliunit. | |
| amount_milliunits | No | Raw YNAB milliunits. Use only when the value is already converted. | |
| confirmation_token | No | Short-lived, single-use token returned by the immediately preceding preview of this exact validated request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||