create_deal
Register income or expense transactions with account item names, auto-applying tax categories and linking bank statements when a wallet is specified.
Instructions
取引(仕訳)を登録する。勘定科目は名前で指定。税区分は勘定科目のデフォルトを自動適用。口座指定で明細と自動紐付け。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | 収入(income) or 支出(expense) | |
| amount | Yes | 金額(税込) | |
| issue_date | Yes | 発生日 yyyy-mm-dd | |
| description | No | 摘要(備考) | |
| wallet_name | No | 決済口座名(例: PayPay銀行)。未指定=プライベート資金 | |
| account_item | Yes | 勘定科目名(例: 通信費, 売上高) | |
| partner_name | No | 取引先名。未登録の場合は自動作成 |