支払期日の計算(取適法の60日・締め日と支払日)
jp_payment_due_dateCompute payment-term dates under Japan's 中小受託取引適正化法 (取適法, in force from 2026-01-01, formerly the 下請法) Article 3, using the JFTC text: the 60th day counted with the receipt date as day 1, the deemed due dates (receipt date if no due date was set; the 60th day if it was set later), and for an agreed due date or a monthly cut-off rule (締め日・支払月・支払日) the payment date, its day number and whether it is within 60 days. For a monthly rule only (the two-month treatment applies to monthly cut-off rules, not to an agreed due date) it also gives the last day of the JFTC's two-month treatment (受領後2か月以内) and whether the payment is within it, and whether the payment date is a bank holiday and the postponement fits the JFTC's conditions. Special cut-off rules for continuously provided services are not covered. It does not decide whether the act applies to a transaction. Dates must be within the holiday data (currently up to 2027-12-31).
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": {
"received_on": "<received_on>"
},
"name": "jp_payment_due_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| monthly | No | 月単位の締切制度(例:末日締め翌月末日払い=cutoff_day "end"・pay_month_offset 1・pay_day "end") | |
| received_on | Yes | 給付を受領した日(役務は提供を受けた日。日数がかかる役務は終わった日)YYYY-MM-DD | |
| agreed_due_date | No | 決めた支払期日(YYYY-MM-DD)。monthly と一緒には使わない |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | この答えに効いた決まり・前提(日本語) | |
| result | Yes | ||
| doc_url | Yes | 人が読む説明のページ(式・出所・例)。利用者に次に読んでもらう先 | |
| sources | Yes | ||
| law_as_of | No | 出所が書く法令の基準日(例:2026-04-01=令和8年4月1日現在法令等) | |
| checked_on | Yes | Cyclix Agents が出所を最後に確かめた日 | |
| disclaimer | Yes |