payment_date
Calculate payment dates from invoice dates using Japanese closing day, pay month offset, pay day, and holiday adjustment rules.
Instructions
請求日から支払日を計算する(日本の締め・支払サイト)。 closing_day: 締め日("末" か 1-31の数字文字列)。pay_month_offset: 締め月から何ヶ月後に支払うか(1=翌月)。 pay_day: 支払日("末" か 1-31)。adjust: 支払日が休業日のとき "previous"(前営業日)/"next"(翌営業日)/"none"。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invoice_date": "<invoice_date>"
},
"name": "payment_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adjust | No | previous | |
| pay_day | No | 末 | |
| closing_day | No | 末 | |
| invoice_date | Yes | ||
| pay_month_offset | No |