mfc_ca_postVouchers
Upload and attach vouchers to journal entries in Money Forward Cloud Accounting. Provide local file paths or base64 data; specify journal ID to link the voucher.
Instructions
証憑をアップロードし仕訳に添付します(公式MCP未提供・要ユーザー承認)。file_paths を渡せばローカルファイルを自動でbase64化する。journal_id 省略時は孤立証憑になる(後から仕訳に紐づける手段はない)ので原則指定すること。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "mfc_ca_postVouchers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_paths | No | ローカルファイルの絶対パス(file_name/file_dataは自動生成) | |
| journal_id | No | 添付先の仕訳ID | |
| office_code | No | 対象事業者の事業者番号(XXXX-XXXX)。APIキー認証では必須。MF_OFFICE_CODE を設定していれば省略可 | |
| voucher_files | No | base64を直接渡す場合 |