請求書の金額(小計・消費税・源泉徴収・振込額・支払期日)
jp_invoice_amountWork out the amounts on a Japanese invoice in one call by combining the other Tax Compass calculations: subtotal, consumption tax rounded once per tax rate (国税庁 Q&A 問57), withholding tax on item-1 fees paid to a resident individual (No.2795; on the tax-excluded fee when the consumption tax (or its equivalent) is stated separately on the invoice, which the NTA allows also for issuers not registered for the invoice system; otherwise on the tax-included amount), the transfer amount (振込額), the payment due dates under 取適法 if terms are given, and a check of numbers already written on the invoice. For an issuer not registered for the invoice system (免税事業者) it adds the NTA Q&A 問26-2 notes on what such an invoice may and may not show. Whether a fee is subject to withholding and which tax rate applies are chosen by the caller.
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": {
"price_basis": "<price_basis>",
"rounding": "<rounding>",
"lines": "<lines>",
"issuer_registered": "<issuer_registered>"
},
"name": "jp_invoice_amount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | ||
| stated | No | 請求書に書いた数(検算する時。書いてある物だけ入れる) | |
| rounding | Yes | 1円未満の処理。切り捨て・四捨五入・切り上げ | |
| price_basis | Yes | 行の金額が税抜(tax_excluded)か税込(tax_included)か。1枚の中ではどちらかに揃える | |
| withholding | No | 日本に住む個人に払う第1号の報酬として源泉徴収する時だけ入れる | |
| payment_terms | No | 支払期日もまとめて出す時(jp_payment_due_date と同じ入力) | |
| transaction_date | No | 取引(譲渡)の日 YYYY-MM-DD。行に date が無い時に使う。税率 1 の行には、どちらかの日が要る | |
| issuer_registered | Yes | 請求書を出す人が適格請求書発行事業者(インボイスの登録をしている)か |
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 |