e-tax
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesee-Tax 電子申告 — ブラウザ自動化による確定申告書等作成コーナー入力
e-Tax Electronic Filing — Automated Input to NTA Tax Return Preparation Corner using Claude in Chrome
shinkoku で計算した確定申告データを、確定申告書等作成コーナー(https://www.keisan.nta.go.jp/)に
Claude in Chrome を使ってブラウザ上で入力・提出するためのスキル。
This guide provides step-by-step instructions for using Claude in Chrome to automate input into the NTA Tax Return Preparation Corner for filing final tax returns, including blue returns, income tax, and consumption tax.
前提条件
Prerequisites
- スキルで所得税の計算が完了していること
/income-tax - スキルで決算書(PL/BS)の作成が完了していること
/settlement - スキルで消費税の計算が完了していること(該当者のみ)
/consumption-tax - が設定済みであること
shinkoku.config.yaml - ブラウザ自動化ツールがいずれか利用可能であること(下記「ブラウザ自動化方式の選択」参照)
- Completion of income tax calculation using the skill
/income-tax - Completion of financial statements (P/L, B/S) using the skill
/settlement - Completion of consumption tax calculation using the skill (if applicable)
/consumption-tax - is properly configured
shinkoku.config.yaml - One of the browser automation tools is available (see "Browser Automation Method Selection" below)
ブラウザ自動化方式の選択
Browser Automation Method Selection
確定申告書等作成コーナーへの入力には、以下の3つの方式がある。
There are three methods for inputting data into the Tax Return Preparation Corner:
方式 A: Claude in Chrome(推奨)
Method A: Claude in Chrome (Recommended)
| 項目 | 内容 |
|---|---|
| 対象環境 | Windows / macOS のネイティブ Chrome |
| 前提 | Claude in Chrome 拡張機能がインストール済み |
| 利点 | OS 検出の問題なし。追加設定不要 |
| Item | Details |
|---|---|
| Supported Environments | Native Chrome on Windows / macOS |
| Prerequisites | Claude in Chrome extension installed |
| Advantages | No OS detection issues, no additional configuration required |
方式 B: Antigravity Browser Sub-Agent
Method B: Antigravity Browser Sub-Agent
| 項目 | 内容 |
|---|---|
| 対象環境 | Windows / macOS / Linux(Antigravity IDE) |
| 前提 | Antigravity IDE がインストール済みで |
| 利点 | ネイティブ Chrome を使用するため OS 偽装不要。Linux でも動作 |
| Item | Details |
|---|---|
| Supported Environments | Windows / macOS / Linux (Antigravity IDE) |
| Prerequisites | Antigravity IDE installed with |
| Advantages | Uses native Chrome, no OS spoofing required, works on Linux |
方式 C: Playwright CLI(フォールバック)
Method C: Playwright CLI (Fallback)
| 項目 | 内容 |
|---|---|
| 対象環境 | WSL / Linux、または Claude in Chrome・Antigravity が利用できない環境 |
| 前提 | |
| 制限 | headed モード必須(QR コード認証に物理操作が必要) |
| Item | Details |
|---|---|
| Supported Environments | WSL / Linux, or environments where Claude in Chrome/Antigravity are unavailable |
| Prerequisites | |
| Restrictions | Headed mode required (physical operation needed for QR code authentication) |
判定ロジック
Decision Logic
1. Claude in Chrome のツール(browser_navigate 等)が利用可能か?
→ はい: 方式 A を使用
→ いいえ: 次へ
2. Antigravity の browser_subagent ツールが利用可能か?
→ はい: 方式 B を使用
→ いいえ: 次へ
3. Bash ツールで `playwright-cli` コマンドが利用可能か?
→ はい: 方式 C を使用(headed モードで起動)
→ いいえ: エラー表示
エラーメッセージ:
「確定申告書等作成コーナーへの入力には、Claude in Chrome、
Antigravity Browser Sub-Agent、または Playwright CLI が必要です。
セットアップ方法は README.md の『ブラウザ自動化』セクションを参照してください。」1. Is Claude in Chrome tool (browser_navigate, etc.) available?
→ Yes: Use Method A
→ No: Proceed to next
2. Is Antigravity's browser_subagent tool available?
→ Yes: Use Method B
→ No: Proceed to next
3. Is `playwright-cli` command available via Bash tool?
→ Yes: Use Method C (launch in headed mode)
→ No: Display error
Error Message:
"Claude in Chrome, Antigravity Browser Sub-Agent, or Playwright CLI is required for input to the Tax Return Preparation Corner. Refer to the 'Browser Automation' section in README.md for setup instructions."方式 B 使用時の操作方法
Operation Method for Method B
Antigravity の は高レベルなタスク記述で操作する。
各ステップの入力操作を自然言語で記述し、 に委任する。
browser_subagentbrowser_subagent例:
- 「https://www.keisan.nta.go.jp/kyoutu/ky/sm/top_web#bsctrl を開く」
- 「『マイナンバーカードをお持ちですか』で『はい』のラジオボタンをクリック」
- 「name='sonekiKeisansyoFromMonth' の入力欄に '1' を入力」
※ Antigravity はネイティブ Chrome を使用するため、 による OS 偽装は不要。
etax-stealth.jsAntigravity's operates with high-level task descriptions. Describe each step's input operation in natural language and delegate to .
browser_subagentbrowser_subagentExamples:
- "Open https://www.keisan.nta.go.jp/kyoutu/ky/sm/top_web#bsctrl"
- "Click the 'Yes' radio button for 'Do you have a My Number Card?'"
- "Enter '1' into the input field with name='sonekiKeisansyoFromMonth'"
Note: Antigravity uses native Chrome, so OS spoofing with is not required.
etax-stealth.js方式 C 使用時のセッション開始手順
Session Start Procedure for Method C
Playwright CLI でブラウザを開く際の手順:
- 環境変数を設定:
PLAYWRIGHT_MCP_INIT_SCRIPT=skills/e-tax/scripts/etax-stealth.js - ブラウザ起動:
playwright-cli -s=etax open <url> --headed --browser=chrome - 以降のコマンドは セッション指定で実行
-s=etax
Steps to open browser with Playwright CLI:
- Set environment variable:
PLAYWRIGHT_MCP_INIT_SCRIPT=skills/e-tax/scripts/etax-stealth.js - Launch browser:
playwright-cli -s=etax open <url> --headed --browser=chrome - Execute subsequent commands with session specification
-s=etax
設定の読み込み(最初に実行)
Load Configuration (Execute First)
- を Read ツールで読み込む
shinkoku.config.yaml - ファイルが存在しない場合は スキルの実行を案内して終了する
/setup - 設定値を把握する:
- 納税者プロファイル(氏名・住所・マイナンバー等)
- 事業情報(屋号・業種等)
- 申告方法(e-Tax/郵送/窓口)
- Load using the Read tool
shinkoku.config.yaml - If the file does not exist, guide the user to execute the skill and exit
/setup - Understand configuration values:
- Taxpayer profile (name, address, My Number, etc.)
- Business information (trade name, industry type, etc.)
- Filing method (e-Tax/mail/counter)
進捗情報の読み込み
Load Progress Information
- を Read ツールで読み込む(存在する場合)
.shinkoku/progress/progress-summary.md - 以下の引継書を Read ツールで読み込む(存在する場合):
- — 決算結果(PL/BS データ)
.shinkoku/progress/06-settlement.md - — 所得税計算結果
.shinkoku/progress/07-income-tax.md - — 消費税計算結果
.shinkoku/progress/08-consumption-tax.md - — 課税判定結果
.shinkoku/progress/02-assess.md
- の
.shinkoku/progress/10-etax.mdを確認する:status- の場合 → 下記「中断・再開プロトコル」の 再開手順 に従う
status: interrupted - の場合 → ユーザーに完了済みである旨を伝え、再実行の意図を確認する
status: completed
- 計算結果がまだ存在しない場合は、先に や
/income-taxの実行を案内する/settlement
- Load using the Read tool (if it exists)
.shinkoku/progress/progress-summary.md - Load the following handover documents using the Read tool (if they exist):
- — Settlement results (P/L/B/S data)
.shinkoku/progress/06-settlement.md - — Income tax calculation results
.shinkoku/progress/07-income-tax.md - — Consumption tax calculation results
.shinkoku/progress/08-consumption-tax.md - — Taxability determination results
.shinkoku/progress/02-assess.md
- Check in
status:.shinkoku/progress/10-etax.md- If → Follow resumption procedure in "Interruption/Resumption Protocol" below
status: interrupted - If → Notify user that filing is complete and confirm intention to re-execute
status: completed
- If
- If calculation results do not exist yet, guide user to execute and
/income-taxfirst/settlement
中断・再開プロトコル
Interruption/Resumption Protocol
全ステップ共通のルール。ユーザーが中断を要求した場合(「中断したい」「今日はここまで」「また続きから」等)、以下の手順に従う。
Rules common to all steps. If the user requests interruption (e.g., "I want to stop", "That's it for today", "I'll continue later"), follow these steps:
中断手順
Interruption Procedure
- 現在のステップの入力内容を確認する — 未保存の入力がないか確認
- .data ファイルのダウンロードを案内する — AskUserQuestion で以下を表示:
作成コーナーの入力データを .data ファイルとして保存することを推奨します。
画面上部の「入力データの一時保存」ボタン(またはページ下部の「ここまでの入力データを保存する」リンク)
をクリックし、ファイルをダウンロードしてください。
ダウンロードが完了したら「ダウンロード済み」を選択してください。- 選択肢: 「ダウンロード済み」 / 「スキップ(保存しない)」
- 「スキップ」が選ばれた場合は、次回は最初からやり直しになる可能性がある旨を警告する
- 進捗ファイルを記録する — に以下の形式で Write ツールで出力:
.shinkoku/progress/10-etax.md
---
step: 10
skill: e-tax
status: interrupted
last_completed_step: "{最後に完了したステップ番号(例: 3)}"
last_url: "{中断時のブラウザURL}"
data_file_saved: {true/false}
interrupted_at: "{当日日付 YYYY-MM-DD}"
fiscal_year: {tax_year}
---- Confirm input contents of current step — Check for unsaved input
- Guide to download .data file — Display the following using AskUserQuestion:
We recommend saving the input data from the preparation corner as a .data file.
Click the "Temporarily save input data" button at the top of the screen (or the "Save input data up to this point" link at the bottom of the page)
and download the file.
Please select "Downloaded" once the download is complete.- Options: "Downloaded" / "Skip (do not save)"
- If "Skip" is selected, warn the user that they may have to start over from the beginning next time
- Record progress file — Output to in the following format using the Write tool:
.shinkoku/progress/10-etax.md
---
step: 10
skill: e-tax
status: interrupted
last_completed_step: "{Last completed step number (e.g., 3)}"
last_url: "{Browser URL at time of interruption}"
data_file_saved: {true/false}
interrupted_at: "{Current date YYYY-MM-DD}"
fiscal_year: {tax_year}
---e-Tax 電子申告(中断)
e-Tax Electronic Filing (Interrupted)
中断時点の状況
Status at Interruption
- 最後に完了したステップ: ステップ{N}
- 中断時のURL: {URL}
- .data ファイル保存: {済/未}
- Last completed step: Step {N}
- URL at interruption: {URL}
- .data file saved: {Yes/No}
次回の再開方法
How to Resume Next Time
- スキルを再実行する
/e-tax - .data ファイルがある場合は「保存データを利用して作成」から再開する
- .data ファイルがない場合はステップ0からやり直す
4. **ユーザーに中断完了を報告** — 次回の再開方法を案内して終了する- Re-execute the skill
/e-tax - If you have a .data file, resume from "Create using saved data"
- If you don't have a .data file, start over from step 0
4. **Notify user of completion of interruption** — Guide user on how to resume next time and exit再開手順
Resumption Procedure
.shinkoku/progress/10-etax.mdstatus: interrupted- 中断時の情報(,
last_completed_step)を読み取るdata_file_saved - AskUserQuestion で以下を表示:
前回の e-Tax 入力はステップ{N}で中断されています。
再開方法を選択してください。- 選択肢:
- 「.data ファイルから再開する」(の場合のみ表示)
data_file_saved: true - 「最初からやり直す」
- 「中断記録を破棄して終了する」
- 「.data ファイルから再開する」(
-
.data ファイルから再開する場合:
- 確定申告書等作成コーナーのトップページにアクセス
- 「保存データを利用して作成」→「作成再開」を選択
- ファイルのアップロードを案内
.data - 読み込み完了後、の次のステップから再開する
last_completed_step
-
最初からやり直す場合:
- ステップ0 から通常通り開始する
If is detected in :
status: interrupted.shinkoku/progress/10-etax.md- Read interruption information (,
last_completed_step)data_file_saved - Display the following using AskUserQuestion:
Your previous e-Tax input was interrupted at step {N}.
Please select how to resume.- Options:
- "Resume from .data file" (display only if )
data_file_saved: true - "Start over from the beginning"
- "Discard interruption record and exit"
- "Resume from .data file" (display only if
-
If resuming from .data file:
- Access the top page of the Tax Return Preparation Corner
- Select "Create using saved data" → "Resume creation"
- Guide user to upload the .data file
- After loading is complete, resume from the step following
last_completed_step
-
If starting over from the beginning:
- Start normally from step 0
ステップ0: 必須データの検証
Step 0: Verify Required Data
確定申告書等作成コーナーへの入力に必要なデータが揃っているか検証する。
Verify that all data required for input to the Tax Return Preparation Corner is available.
検証項目
Verification Items
[1] 税額計算済み
- .shinkoku/progress/07-income-tax.md が存在し、status: completed であること
[2] プロファイル完備
- 氏名(姓・名)が登録されているか
- 住所が登録されているか
- 所轄税務署名が登録されているか
[3] 決算書データ
- PL/BS の計算結果が取得可能であること
[4] 消費税(該当者のみ)
- .shinkoku/progress/08-consumption-tax.md が存在し、status: completed であること
[5] サニティチェック
- `tax_calc.py sanity-check` を実行する
- error > 0 の場合: 入力を中止し、`/income-tax` スキルで修正を促す
- warning > 0 の場合: ユーザーに確認してから続行する[1] Tax amount calculated
- .shinkoku/progress/07-income-tax.md exists and has status: completed
[2] Profile complete
- Is name (last/first) registered?
- Is address registered?
- Is competent tax office name registered?
[3] Financial statement data
- P/L/B/S calculation results are available
[4] Consumption tax (if applicable)
- .shinkoku/progress/08-consumption-tax.md exists and has status: completed
[5] Sanity check
- Execute `tax_calc.py sanity-check`
- If error > 0: Abort input and prompt correction using `/income-tax` skill
- If warning > 0: Confirm with user before proceeding画面遷移フロー全体像
Overall Screen Transition Flow
┌─────────────────────────────────────────────────────┐
│ CC-AA-010 税務署への提出方法の選択 │
│ マイナンバーカード: はい → スマホ: はい │
│ → 「スマートフォンを使用する」 │
└──────────────┬──────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────┐
│ CC-AE-090 作成する申告書等の選択 │
│ 「決算書・収支内訳書(+所得税)」を選択 │
│ → doSubmitCMW0900(2,'25') │
│ │
│ ※ 消費税のみ別途作成する場合: │
│ → doSubmitCMW0900(3,'25') │
└──────────────┬──────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────┐
│ CC-AE-600 マイナポータル連携の選択 │
│ → 「マイナポータル連携を利用しない」 │
└──────────────┬──────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────┐
│ CC-AA-024 e-Taxを行う前の確認 │
│ → 「利用規約に同意して次へ」 │
└──────────────┬──────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────┐
│ CC-AA-440 QRコード認証 │
│ ★ ユーザーの物理的認証が必要 │
│ スマートフォンでQRコード読み取り │
│ → マイナンバーカード認証完了後、自動遷移 │
└──────────────┬──────────────────────────────────────┘
▼
┌───────┴───────┐
▼ ▼
決算書コーナー 所得税コーナー
(事業所得あり) (給与のみ等)┌─────────────────────────────────────────────────────┐
│ CC-AA-010 Select submission method to tax office │
│ My Number Card: Yes → Smartphone: Yes │
│ → "Use smartphone" │
└──────────────┬──────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────┐
│ CC-AE-090 Select return form to create │
│ Select "Financial Statement/Income Statement (+ Income Tax)" │
│ → doSubmitCMW0900(2,'25') │
│ │
│ *For consumption tax only, create separately: │
│ → doSubmitCMW0900(3,'25') │
└──────────────┬──────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────┐
│ CC-AE-600 Select My Number Portal linkage │
│ → "Do not use My Number Portal linkage" │
└──────────────┬──────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────┐
│ CC-AA-024 Confirmation before e-Tax filing │
│ → "Agree to terms of use and proceed" │
└──────────────┬──────────────────────────────────────┘
▼
┌─────────────────────────────────────────────────────┐
│ CC-AA-440 QR code authentication │
│ ★ User physical authentication required │
│ Read QR code with smartphone │
│ → Automatic transition after My Number Card authentication │
└──────────────┬──────────────────────────────────────┘
▼
┌───────┴───────┐
▼ ▼
Financial Statement Corner Income Tax Corner
(With business income) (Salary only, etc.)決算書コーナーのフロー
Financial Statement Corner Flow
/kessan/ac/r7/top → ac0300(種類選択)→ aa0200(P/L入力)
→ aa0100(青色特別控除)→ preAoiroCalc(B/S入力)
→ aa0700(所得確認)→ ac0500(住所氏名)→ 印刷/保存
→ 所得税コーナーへ遷移/kessan/ac/r7/top → ac0300 (Type selection) → aa0200 (P/L input)
→ aa0100 (Blue return special deduction) → preAoiroCalc (B/S input)
→ aa0700 (Income confirmation) → ac0500 (Address and name) → Print/Save
→ Transition to Income Tax Corner所得税コーナーのフロー
Income Tax Corner Flow
SS-AA-010a(所得選択)→ SS-AA-050(収入入力ハブ)
→ SS-CA-010(給与入力) / SS-CB-xxx(事業所得) / 雑所得
→ SS-AA-070a(控除1/2)→ SS-AA-080(控除2/2)
→ SS-AA-090(計算結果確認)
→ SS-AC-010a(納付方法)→ SS-AC-020a(住民税等)
→ SS-AC-030(基本情報)→ SS-AC-040(マイナンバー)
→ ステップ5.5(意思決定ゲート)→ ステップ6(電子署名・送信プロトコル)SS-AA-010a (Income selection) → SS-AA-050 (Income input hub)
→ SS-CA-010 (Salary input) / SS-CB-xxx (Business income) / Miscellaneous income
→ SS-AA-070a (Deductions 1/2) → SS-AA-080 (Deductions 2/2)
→ SS-AA-090 (Calculation result confirmation)
→ SS-AC-010a (Payment method) → SS-AC-020a (Resident tax, etc.)
→ SS-AC-030 (Basic information) → SS-AC-040 (My Number)
→ Step 5.5 (Decision gate) → Step 6 (Digital signature and transmission protocol)消費税コーナーのフロー(所得税完了後)
Consumption Tax Corner Flow (After Income Tax Completion)
所得税完了 → 「消費税の申告書作成はこちら」
2割特例:
ac0100(条件判定) → ac0250(所得区分選択) → 売上入力hub → 売上入力detail
→ 売上入力hub → 中間納付 → ac0300(計算結果) → 納税地等
→ ステップ6.5(電子署名・送信プロトコル)
簡易課税:
ac0100(条件判定) → ac0250(所得区分・事業区分選択) → 売上入力hub → 売上入力detail
→ 売上入力hub → ak2140(仕入税額控除方式選択)※ → 中間納付 → ac0300(計算結果)
→ 納税地等 → ステップ6.5(電子署名・送信プロトコル)
※ 2種以上の事業がある場合のみ
一般課税:
ac0100(条件判定) → ac0250(所得区分選択) → 売上・仕入入力hub → 売上入力detail
→ ai3610(決算額テーブル)※ → 売上・仕入入力hub → 中間納付 → ac0300(計算結果)
→ 納税地等 → ステップ6.5(電子署名・送信プロトコル)
※ 積上げ計算選択時のみIncome tax completion → "Create consumption tax return here"
20% Special Provision:
ac0100 (Condition determination) → ac0250 (Income category selection) → Sales input hub → Sales input detail
→ Sales input hub → Interim payment → ac0300 (Calculation result) → Tax payment location, etc.
→ Step 6.5 (Digital signature and transmission protocol)
Simplified Taxation:
ac0100 (Condition determination) → ac0250 (Income category/business category selection) → Sales input hub → Sales input detail
→ Sales input hub → ak2140 (Input tax credit method selection)* → Interim payment → ac0300 (Calculation result)
→ Tax payment location, etc. → Step 6.5 (Digital signature and transmission protocol)
*Only if operating two or more types of businesses
Standard Taxation:
ac0100 (Condition determination) → ac0250 (Income category selection) → Sales/purchase input hub → Sales input detail
→ ai3610 (Settlement amount table)* → Sales/purchase input hub → Interim payment → ac0300 (Calculation result)
→ Tax payment location, etc. → Step 6.5 (Digital signature and transmission protocol)
*Only if cumulative calculation is selectedステップ1: 確定申告書等作成コーナーへのアクセス
Step 1: Access Tax Return Preparation Corner
開始URL
Start URL
CC-AA-010: 税務署への提出方法の選択
CC-AA-010: Select Submission Method to Tax Office
画面番号: CC-AA-010
- 「マイナンバーカードをお持ちですか」→ 「はい」 ラジオボタンをクリック
- 「マイナンバーカード読み取りに対応したスマートフォン又はICカードリーダライタをお持ちですか」→ 「はい」 をクリック
- 「スマートフォンを使用する」 をクリック
- JS:
doSubmitCSW0100('1','3','/ky/sm/csw0100_myno_qr')
- JS:
Screen number: CC-AA-010
- "Do you have a My Number Card?" → Click "Yes" radio button
- "Do you have a smartphone or IC card reader/writer compatible with My Number Card reading?" → Click "Yes"
- Click "Use smartphone"
- JS:
doSubmitCSW0100('1','3','/ky/sm/csw0100_myno_qr')
- JS:
CC-AE-090: 作成する申告書等の選択
CC-AE-090: Select Return Form to Create
画面番号: CC-AE-090
選択肢(令和7年分):
- 所得税 →
doSubmitCMW0900(1,'25') - 決算書・収支内訳書(+所得税) → ← 事業所得ありの場合
doSubmitCMW0900(2,'25') - 消費税 →
doSubmitCMW0900(3,'25') - 贈与税 →
doSubmitCMW0900(4,'25')
判断基準:
- 事業所得あり → 「決算書・収支内訳書(+所得税)」
- 事業所得なし(給与のみ等)→ 「所得税」
- 消費税は所得税完了後に別途作成
Screen number: CC-AE-090
Options (FY2025):
- Income Tax →
doSubmitCMW0900(1,'25') - Financial Statement/Income Statement (+ Income Tax) → ← If you have business income
doSubmitCMW0900(2,'25') - Consumption Tax →
doSubmitCMW0900(3,'25') - Gift Tax →
doSubmitCMW0900(4,'25')
Judgment Criteria:
- With business income → "Financial Statement/Income Statement (+ Income Tax)"
- Without business income (salary only, etc.) → "Income Tax"
- Consumption tax is created separately after income tax completion
CC-AE-600: マイナポータル連携の選択
CC-AE-600: Select My Number Portal Linkage
→ 「マイナポータル連携を利用しない」 をクリック
→ Click "Do not use My Number Portal linkage"
CC-AA-024: e-Taxを行う前の確認
CC-AA-024: Confirmation Before e-Tax Filing
→ 「利用規約に同意して次へ」 をクリック
※ 環境チェック が実行される。
Windows/macOS の Chrome/Edge であれば問題なし。
termnalInfomationCheckOS_myNumberLinkage()→ Click "Agree to terms of use and proceed"
Note: Environment check is executed. No issues with Chrome/Edge on Windows/macOS.
termnalInfomationCheckOS_myNumberLinkage()CC-AA-440: QRコード認証
CC-AA-440: QR Code Authentication
★ ユーザー操作待ち — ブラウザ操作を一時停止
この画面ではエージェントがブラウザを操作してはならない。
AskUserQuestion ツールで一時停止し、ユーザーが認証完了を報告するまで絶対に次のステップに進まないこと。
AskUserQuestion で以下を表示する:
QRコード認証画面が表示されました。
スマートフォンのマイナポータルアプリでQRコードを読み取り、
マイナンバーカードで認証してください。
認証が完了したら「認証完了」を選択してください。- 選択肢: 「認証完了」 / 「QRコードが表示されない」
- 「QRコードが表示されない」が選ばれた場合は下記の ⚠️ Playwright CLI 使用時の注意 を参照して対処する
- ユーザーが「認証完了」を選択するまで、一切のブラウザ操作・画面遷移を行わない
認証完了後、自動的に次の画面に遷移する。
⚠️ Playwright CLI 使用時の注意: 環境変数で を指定することで
サーバーベイク関数パッチが自動適用されるが、QR コードが表示されない場合はコンソールで の
戻り値を確認し、 でなければ以下を手動実行する:
PLAYWRIGHT_MCP_INIT_SCRIPTetax-stealth.jsgetClientOS()'Windows'javascript
window.getClientOS = function() { return 'Windows'; };
displayQrcode();★ Wait for user operation — Pause browser operation
The agent must not operate the browser on this screen. Pause using AskUserQuestion tool and do not proceed to next step until user reports authentication completion.
Display the following using AskUserQuestion:
QR code authentication screen is displayed.
Read the QR code with your smartphone's My Number Portal app
and authenticate with your My Number Card.
Please select "Authentication completed" once authentication is done.- Options: "Authentication completed" / "QR code is not displayed"
- If "QR code is not displayed" is selected, refer to ⚠️ Notes for Playwright CLI use below for troubleshooting
- Do not perform any browser operations or screen transitions until user selects "Authentication completed"
After authentication is completed, automatically transition to next screen.
⚠️ Notes for Playwright CLI use: Server bake function patches are automatically applied by specifying in the environment variable, but if QR code is not displayed, check the return value of in the console. If it is not , execute the following manually:
etax-stealth.jsPLAYWRIGHT_MCP_INIT_SCRIPTgetClientOS()'Windows'javascript
window.getClientOS = function() { return 'Windows'; };
displayQrcode();ステップ2: 青色申告決算書の入力(事業所得がある場合)
Step 2: Input Blue Return Financial Statement (If you have business income)
⚠️ ネイティブダイアログ注意: 「次へ」クリック後に画面が遷移しない場合、ネイティブダイアログ(alert/confirm)が表示されている可能性がある。技術的な知見の「ネイティブダイアログの検知と対処」を参照。
⚠️ Native dialog warning: If screen does not transition after clicking "Next", a native dialog (alert/confirm) may be displayed. Refer to "Detection and Handling of Native Dialogs" in Technical Insights.
/kessan/ac/pre/ac0300: 決算書の種類選択
/kessan/ac/pre/ac0300: Select Financial Statement Type
ラジオボタン:
- 青色申告決算書 ← 青色申告の場合
- 収支内訳書(白色申告の場合)
- 青色申告決算書(現金主義用)
Radio buttons:
- Blue Return Financial Statement ← For blue return filers
- Income Statement (For white return filers)
- Blue Return Financial Statement (For cash basis)
/kessan/ac/aa0200: 損益計算書(P/L)の入力
/kessan/ac/aa0200: Input Profit and Loss Statement (P/L)
URL:
https://www.keisan.nta.go.jp/kessan/ac/aa0200#bsctrlURL:
https://www.keisan.nta.go.jp/kessan/ac/aa0200#bsctrl期間の入力
Period Input
| フィールド | name | デフォルト |
|---|---|---|
| 開始月 | | 1 |
| 開始日 | | 1 |
| 終了月 | | 12 |
| 終了日 | | 31 |
| Field | name | Default |
|---|---|---|
| Start month | | 1 |
| Start day | | 1 |
| End month | | 12 |
| End day | | 31 |
売上(収入)金額
Sales (Revenue) Amount
「入力」ボタン → 売上仕入月別入力サブページに遷移。
/kessan/ac/aa0201aa0201 のフィールド:
- 〜
uriageKingaku1: 月別売上uriageKingaku12 - 〜
siireKingaku1: 月別仕入siireKingaku12 - : 家事消費等
kajisyohi - : 雑収入
zatusyunyu
合計: ,
uriageKingakuGokeisiireKingakuGokeiClick "Input" button → Transition to monthly sales/purchase input subpage.
/kessan/ac/aa0201Fields for aa0201:
- ~
uriageKingaku1: Monthly salesuriageKingaku12 - ~
siireKingaku1: Monthly purchasessiireKingaku12 - : Household expenses, etc.
kajisyohi - : Miscellaneous income
zatusyunyu
Totals: ,
uriageKingakuGokeisiireKingakuGokei経費(行8〜31)
Expenses (Rows 8~31)
| 行 | 科目 | name(直接入力) | 備考 |
|---|---|---|---|
| 8 | 租税公課 | | |
| 9 | 荷造運賃 | | |
| 10 | 水道光熱費 | | |
| 11 | 旅費交通費 | | |
| 12 | 通信費 | | |
| 13 | 広告宣伝費 | | |
| 14 | 接待交際費 | | |
| 15 | 損害保険料 | | |
| 16 | 修繕費 | | |
| 17 | 消耗品費 | | |
| 18 | 減価償却費 | — | 「入力」→ |
| 19 | 福利厚生費 | | |
| 20 | 給料賃金 | — | 「入力」→ |
| 21 | 外注工賃 | | |
| 22 | 利子割引料 | — | 「入力」→ |
| 23 | 地代家賃 | — | 「入力」→ |
| 24 | 貸倒金 | | |
| 25 | 税理士等の報酬 | | 科目名: |
| 26 | 震災関連経費 | | 科目名: |
| 27-30 | 任意科目 | | 科目名: |
| 31 | 雑費 | |
集計 hidden フィールド: , , ,
keihiSannyugakuGokeikyuryoTinginTotalGokeirisiWaribikiryoGokeitidaiYatinGokei| Row | Item | name (direct input) | Notes |
|---|---|---|---|
| 8 | Taxes and public dues | | |
| 9 | Packing and transportation expenses | | |
| 10 | Water, light, and heat expenses | | |
| 11 | Travel and transportation expenses | | |
| 12 | Communication expenses | | |
| 13 | Advertising and promotion expenses | | |
| 14 | Entertainment expenses | | |
| 15 | Property insurance premiums | | |
| 16 | Repair expenses | | |
| 17 | Supplies expenses | | |
| 18 | Depreciation expenses | — | "Input" → |
| 19 | Welfare expenses | | |
| 20 | Salaries and wages | — | "Input" → |
| 21 | Outsourcing expenses | | |
| 22 | Interest and discount fees | — | "Input" → |
| 23 | Rent expenses | — | "Input" → |
| 24 | Bad debt expenses | | |
| 25 | Fees for tax accountants, etc. | | Item name: |
| 26 | Earthquake-related expenses | | Item name: |
| 27-30 | Optional items | | Item names: |
| 31 | Miscellaneous expenses | |
Aggregation hidden fields: , , ,
keihiSannyugakuGokeikyuryoTinginTotalGokeirisiWaribikiryoGokeitidaiYatinGokei繰戻額等
Carryback amounts, etc.
- /
kurimodosiNiniKamoku1kurimodosiNiniKingaku1 - /
kurimodosiNiniKamoku2kurimodosiNiniKingaku2
- /
kurimodosiNiniKamoku1kurimodosiNiniKingaku1 - /
kurimodosiNiniKamoku2kurimodosiNiniKingaku2
専従者給与
Dedicated employee salaries
- (hidden、「入力」ボタンで別画面)
senjusyaKyuyoTotalGokei - (hidden)
kasidaoreKuriireGokei
- (hidden, separate screen via "Input" button)
senjusyaKyuyoTotalGokei - (hidden)
kasidaoreKuriireGokei
計算結果(自動)
Calculation Results (Automatic)
- = 売上 - 売上原価 - 経費 + 繰戻額 - 専従者給与等
disp_aoiroKojomaeSyotokuKingaku
- = Sales - Cost of goods sold - Expenses + Carryback amounts - Dedicated employee salaries, etc.
disp_aoiroKojomaeSyotokuKingaku
/kessan/ac/submit/aa0100: 青色申告特別控除
/kessan/ac/submit/aa0100: Blue Return Special Deduction
Q&A形式で控除額を選択:
| 選択肢 | value | 条件 |
|---|---|---|
| 10万円 | 2 | |
| 55万円 | 3 | |
| 65万円 | 1 | e-Tax送信が必須。書面提出ではエラー KS-E10089 |
フィールド:
aoiroTokubetuKojoSentakugaku65万円を選択する場合、電子帳簿保存または e-Tax 送信が条件。
⚠️ ネイティブダイアログ注意: 65万円を選択して次へ進むと、書面提出の場合は KS-E10089(e-Tax送信が必要)のネイティブダイアログが表示される。画面が遷移しない場合はダイアログの有無をユーザーに確認すること。
Select deduction amount in Q&A format:
| Option | value | Condition |
|---|---|---|
| ¥100,000 | 2 | |
| ¥550,000 | 3 | |
| ¥650,000 | 1 | e-Tax filing is required. Error KS-E10089 for paper filing |
Field:
aoiroTokubetuKojoSentakugakuIf selecting ¥650,000, electronic book storage or e-Tax filing is required.
⚠️ Native dialog warning: If you select ¥650,000 and proceed, a native dialog with error KS-E10089 (e-Tax filing required) will be displayed for paper filing. If screen does not transition, confirm with user whether dialog is displayed.
貸借対照表(B/S)の入力
Input Balance Sheet (B/S)
URL:
/kessan/ac/preAoiroCalcURL:
/kessan/ac/preAoiroCalc資産の部
Assets Section
配列形式: /
sisannobuTaisyohyoDetailDataList[N].kisyuKingaku.kimatuKingaku| index | 勘定科目 |
|---|---|
| 0 | 現金 |
| 1 | 当座預金 |
| 2 | 定期預金 |
| 3 | その他の預金 |
| 4 | 受取手形 |
| 5 | 売掛金 |
| 6 | 有価証券 |
| 7 | 棚卸資産 |
| 8 | 前払金 |
| 9 | 貸付金 |
| 10 | 建物 |
| 11 | 建物附属設備 |
| 12 | 機械装置 |
| 13 | 車両運搬具 |
| 14 | 工具器具備品 |
| 15 | 土地 |
| 16-23 | 任意科目 |
Array format: /
sisannobuTaisyohyoDetailDataList[N].kisyuKingaku.kimatuKingaku| index | Account Item |
|---|---|
| 0 | Cash |
| 1 | Current deposits |
| 2 | Time deposits |
| 3 | Other deposits |
| 4 | Notes receivable |
| 5 | Accounts receivable |
| 6 | Securities |
| 7 | Inventory assets |
| 8 | Prepaid expenses |
| 9 | Loans receivable |
| 10 | Buildings |
| 11 | Building附属设备 |
| 12 | Machinery and equipment |
| 13 | Vehicles and transportation equipment |
| 14 | Tools, fixtures, and supplies |
| 15 | Land |
| 16-23 | Optional items |
負債・資本の部
Liabilities and Equity Section
配列形式: /
fusainobuTaisyohyoDetailDataList[N].kisyuKingaku.kimatuKingaku| index | 勘定科目 |
|---|---|
| 0 | 支払手形 |
| 1 | 買掛金 |
| 2 | 借入金 |
| 3 | 未払金 |
| 4 | 前受金 |
| 5 | 預り金 |
| 6 | 貸倒引当金 |
| 7-15 | 任意科目 |
| 16 | 元入金 |
| 17 | 事業主借 |
| 18 | 事業主貸 |
| 19 | 青色申告特別控除前の所得金額(P/Lから自動) |
重要: 資産期末合計 = 負債期末合計 が必須(KS-E40003)
⚠️ ネイティブダイアログ注意: 資産期末合計と負債期末合計が一致しない状態で「次へ」を押すと、KS-E40003 のネイティブダイアログが表示される。画面が遷移しない場合はダイアログの有無をユーザーに確認すること。
Array format: /
fusainobuTaisyohyoDetailDataList[N].kisyuKingaku.kimatuKingaku| index | Account Item |
|---|---|
| 0 | Notes payable |
| 1 | Accounts payable |
| 2 | Loans payable |
| 3 | Accrued expenses |
| 4 | Unearned revenue |
| 5 | Deposits received |
| 6 | Allowance for bad debts |
| 7-15 | Optional items |
| 16 | Capital contributions |
| 17 | Owner's drawings |
| 18 | Owner's capital |
| 19 | Income before blue return special deduction (automatic from P/L) |
Important: Total assets at end of period must equal total liabilities at end of period (KS-E40003)
⚠️ Native dialog warning: If you click "Next" after B/S input and total assets do not equal total liabilities, a native dialog with error KS-E40003 will be displayed. If screen does not transition, confirm with user whether dialog is displayed.
/kessan/ac/ac0500: 住所・氏名等の入力
/kessan/ac/ac0500: Input Address, Name, etc.
| フィールド | name |
|---|---|
| 郵便番号 | |
| 都道府県 | |
| 市区町村以下 | |
| 事業所住所(該当者) | |
| 提出先税務署 | |
| 氏名漢字(姓) | |
| 氏名漢字(名) | |
| 業種名 | |
| 屋号 | |
| 提出年月日 | |
| Field | name |
|---|---|
| Postal code | |
| Prefecture | |
| Municipality and below | |
| Business office address (if applicable) | |
| Tax office to submit to | |
| Name in kanji (last) | |
| Name in kanji (first) | |
| Industry name | |
| Trade name | |
| Submission date | |
決算書完了 → 所得税コーナーへ
Financial Statement Completion → Transition to Income Tax Corner
印刷・データ保存画面()の
「所得税の申告書作成はこちら」ボタンで所得税コーナーに遷移(住所氏名引継ぎ)。
/kessan/ac/submit/ac0600⚠️ ネイティブダイアログ注意: このボタンをクリックすると KS-W10035(印刷を確認したか)のネイティブダイアログが表示される場合がある。画面が遷移しない場合はダイアログの有無をユーザーに確認し、「OK」をクリックするよう案内すること。
Click the "Create income tax return here" button on the print/data save screen () to transition to the income tax corner (address and name are carried over).
/kessan/ac/submit/ac0600⚠️ Native dialog warning: When clicking this button, a native dialog with warning KS-W10035 (Have you confirmed printing?) may be displayed. If screen does not transition, confirm with user whether dialog is displayed and guide them to click "OK".
ステップ3: 所得税の申告書入力
Step 3: Input Income Tax Return
⚠️ ネイティブダイアログ注意: 「次へ」クリック後に画面が遷移しない場合、ネイティブダイアログ(alert/confirm)が表示されている可能性がある。技術的な知見の「ネイティブダイアログの検知と対処」を参照。
⚠️ Native dialog warning: If screen does not transition after clicking "Next", a native dialog (alert/confirm) may be displayed. Refer to "Detection and Handling of Native Dialogs" in Technical Insights.
SS-AA-010a: 申告する所得の選択等
SS-AA-010a: Select Income to Declare, etc.
URL:
https://www.keisan.nta.go.jp/r7/syotoku/taM010a40_doInitialDisplay#bbctrlURL:
https://www.keisan.nta.go.jp/r7/syotoku/taM010a40_doInitialDisplay#bbctrl生年月日
Date of Birth
| フィールド | name |
|---|---|
| 年 | |
| 月 | |
| 日 | |
| Field | name |
|---|---|
| Year | |
| Month | |
| Day | |
所得種類の選択(チェックボックス)
Income Type Selection (Checkboxes)
| 所得 | name | 典型的な選択 |
|---|---|---|
| 給与 | | 会社員: checked |
| 事業(営業等) | | 個人事業主: checked |
| 事業(農業) | | |
| 不動産 | | |
| 雑(業務・その他) | | 暗号資産等: checked |
| 公的年金等 | | |
| 退職金 | | |
| 株式等 | | |
| 先物取引 | | |
| 一時 | |
shinkoku 対象の典型パターン:
- 会社員+副業(事業所得): +
kyuy+jgyoEgyoTo(暗号資産あれば)ztsGyomSnt - 給与所得のみ:
kyuy
| Income | name | Typical Selection |
|---|---|---|
| Salary | | Company employee: checked |
| Business (sales, etc.) | | Sole proprietor: checked |
| Business (agriculture) | | |
| Real estate | | |
| Miscellaneous (fees, etc.) | | Cryptocurrency, etc.: checked |
| Public pensions, etc. | | |
| Retirement allowance | | |
| Stocks, etc. | | |
| Futures transactions | | |
| Temporary | |
Typical Patterns for shinkoku:
- Company employee + side business (business income): +
kyuy+jgyoEgyoTo(if cryptocurrency)ztsGyomSnt - Salary income only:
kyuy
SS-AA-050: 収入・所得の入力ハブ
SS-AA-050: Income/Income Input Hub
選択した所得種類ごとに入力リンクが表示される。各リンクをクリックして個別入力画面へ遷移。
Input links are displayed for each selected income type. Click each link to transition to individual input screens.
SS-CA-010: 給与所得の源泉徴収票の入力
SS-CA-010: Input Withholding Tax Statement for Salary Income
URL:
https://www.keisan.nta.go.jp/r7/syotoku/taS510a10_doAdd_nncyzm#bbctrlURL:
https://www.keisan.nta.go.jp/r7/syotoku/taS510a10_doAdd_nncyzm#bbctrl主要入力フィールド
Main Input Fields
| ラベル | name | 備考 |
|---|---|---|
| A: 支払金額 | | 必須 |
| D: 源泉徴収税額 | | |
| 社会保険料等の金額 | | |
| G: 支払者の住所 | | 28文字以内 |
| H: 支払者の氏名又は名称 | | 28文字以内 |
| Label | name | Notes |
|---|---|---|
| A: Payment amount | | Required |
| D: Withholding tax amount | | |
| Amount of social insurance premiums, etc. | | |
| G: Payer's address | | Within 28 characters |
| H: Payer's name or trade name | | Within 28 characters |
条件付きフィールド(ラジオで「記載あり」選択時に表示)
Conditional Fields (Displayed when "Yes" is selected via radio button)
| ラベル | name | 表示条件 |
|---|---|---|
| 生命保険料控除額 | | |
| 新生命保険料金額 | | 上記あり |
| 旧生命保険料金額 | | 上記あり |
| 介護医療保険料金額 | | 上記あり |
| 新個人年金保険料金額 | | 上記あり |
| 旧個人年金保険料金額 | | 上記あり |
| 地震保険料控除額 | | |
| 住宅借入金等特別控除額 | | |
| Label | name | Display Condition |
|---|---|---|
| Life insurance premium deduction amount | | |
| New life insurance premium amount | | Above is yes |
| Old life insurance premium amount | | Above is yes |
| Long-term care insurance premium amount | | Above is yes |
| New individual pension insurance premium amount | | Above is yes |
| Old individual pension insurance premium amount | | Above is yes |
| Earthquake insurance premium deduction amount | | |
| Special deduction for housing loans, etc. | | |
ラジオボタン(記載有無の選択)
Radio Buttons (Selection of presence/absence of description)
| フィールド | name | 値 |
|---|---|---|
| 控除対象配偶者の記載 | | 1(あり)/2(なし) |
| 控除対象扶養親族の記載 | | 1(あり)/2(なし) |
| 生命保険料控除額の記載 | | 1(あり)/2(なし) |
| 地震保険料控除額の記載 | | 1(あり)/2(なし) |
| 住宅借入金等特別控除額の記載 | | 1(あり)/0(なし) |
| Field | name | Value |
|---|---|---|
| Description of spouse eligible for deduction | | 1(Yes)/2(No) |
| Description of dependents eligible for deduction | | 1(Yes)/2(No) |
| Description of life insurance premium deduction amount | | 1(Yes)/2(No) |
| Description of earthquake insurance premium deduction amount | | 1(Yes)/2(No) |
| Description of special deduction for housing loans, etc. | | 1(Yes)/0(No) |
SS-AA-070a: 控除の入力(1/2)— 支出系控除
SS-AA-070a: Input Deductions (1/2) — Expense-based Deductions
入力リンクのハブ画面。各控除をクリックして個別入力画面に遷移。
対応控除:
- 社会保険料控除(源泉徴収票入力済みの場合「入力あり」表示)
- 小規模企業共済等掛金控除(iDeCo等)
- 生命保険料控除
- 地震保険料控除
- 雑損控除・災害減免
- 医療費控除
- 寄附金控除(ふるさと納税含む — ワンストップ特例分も要入力)
Hub screen with input links. Click each deduction to transition to individual input screens.
Supported deductions:
- Social insurance premium deduction (displayed as "Input done" if already input via withholding tax statement)
- Small business mutual aid premium deduction (iDeCo, etc.)
- Life insurance premium deduction
- Earthquake insurance premium deduction
- Casualty loss deduction / Disaster relief
- Medical expense deduction
- Donation deduction (including hometown tax payment — one-stop special case also needs input)
SS-AA-080: 控除の入力(2/2)— 人的控除・住宅控除等
SS-AA-080: Input Deductions (2/2) — Personal Deductions, Housing Deductions, etc.
対応控除:
- 配偶者(特別)控除
- 扶養控除・特定親族特別控除
- 寡婦・ひとり親控除
- 勤労学生控除
- 障害者控除
- 基礎控除(自動計算表示)
- 住宅借入金等特別控除
- 住宅耐震改修特別控除等
- 予定納税額
- 繰越損失額
Supported deductions:
- Spouse (special) deduction
- Dependent deduction / Special deduction for specified relatives
- Widow/single parent deduction
- Working student deduction
- Disability deduction
- Basic deduction (automatic calculation display)
- Special deduction for housing loans, etc.
- Special deduction for seismic retrofitting of housing, etc.
- Estimated tax payment amount
- Carryforward loss amount
SS-AA-090: 計算結果の確認
SS-AA-090: Confirm Calculation Results
入力内容から計算された所得税額の確認画面。
表示項目:
- 収入金額・所得金額(所得種類別)
- 所得控除合計
- 課税される所得金額(1,000円未満切捨て)
- 上記に対する税額(速算表適用)
- 差引所得税額
- 復興特別所得税額(基準所得税額の2.1%)
- 所得税及び復興特別所得税の額
- 源泉徴収税額
- 申告納税額(100円未満切捨て)/ 還付される税金
ここで shinkoku の計算結果と照合する(後述「ステップ5: 申告内容の確認」参照)。
各セクションに「訂正する」ボタンがあり、前画面に戻れる。
Screen to confirm income tax amount calculated from input contents.
Display items:
- Income amount/income amount (by income type)
- Total income deductions
- Taxable income amount (rounded down to nearest ¥1,000)
- Tax amount on above (using tax table)
- Net income tax amount
- Special reconstruction income tax amount (2.1% of base income tax amount)
- Amount of income tax and special reconstruction income tax
- Withholding tax amount
- Declared tax payment amount (rounded down to nearest ¥100) / Tax refund amount
Compare with shinkoku calculation results here (refer to "Step 5: Confirm Declaration Contents" below).
Each section has a "Correct" button to return to previous screen.
SS-AC-010a: 納付方法等の入力
SS-AC-010a: Input Payment Method, etc.
納付金額が発生した場合に表示。還付の場合は還付口座入力画面(SS-AB-010a)が表示される。
| フィールド | type | name | 備考 |
|---|---|---|---|
| 延納を届け出る | checkbox | — | 利子税がかかる旨の注意あり |
| 納付方法 | select | | 必須 |
納付方法の選択肢:
| value | 方法 |
|---|---|
| 1 | 振替納税(期限内申告の場合に利用可) |
| 2 | 電子納税(ダイレクト納付/インターネットバンキング) |
| 3 | クレジットカード納付 |
| 5 | コンビニ納付 |
| 6 | 金融機関等での窓口納付 |
還付の場合は還付口座情報の入力:
- 金融機関名、支店名、口座番号、口座名義
Displayed if payment amount is incurred. If refund is due, refund account input screen (SS-AB-010a) is displayed.
| Field | type | name | Notes |
|---|---|---|---|
| Apply for tax deferment | checkbox | — | Note that interest tax will be charged |
| Payment method | select | | Required |
Payment method options:
| value | Method |
|---|---|
| 1 | Transfer tax payment (available for timely declarations) |
| 2 | Electronic tax payment (direct payment/internet banking) |
| 3 | Credit card payment |
| 5 | Convenience store payment |
| 6 | Over-the-counter payment at financial institutions, etc. |
If refund is due, input refund account information:
- Financial institution name, branch name, account number, account holder name
SS-AC-020a: 財産債務・住民税等
SS-AC-020a: Assets and Liabilities, Resident Tax, etc.
住民税に関する設定(給与からの特別徴収 or 自分で納付 等)。
Settings related to resident tax (special collection from salary or self-payment, etc.).
SS-AC-030: 基本情報の入力
SS-AC-030: Input Basic Information
| ラベル | name | 備考 |
|---|---|---|
| 氏名フリガナ(姓) | | 11文字以内 |
| 氏名フリガナ(名) | | |
| 氏名漢字(姓) | | 10文字以内 |
| 氏名漢字(名) | | |
| 電話番号(種別) | | 自宅/勤務先/携帯 |
| 電話番号(市外) | | |
| 電話番号(市内) | | |
| 電話番号(番号) | | |
| 納税地区分 | | 1=住所地, 2=事業所等 |
| 郵便番号 | | 7桁 |
| 都道府県 | | select |
| 市区町村 | | 都道府県連動 select |
| 丁目番地等 | | 28文字以内 |
| 建物名 | | 28文字以内 |
| 提出先税務署(県) | | select |
| 提出先税務署 | | 県連動 select |
| 職業 | | 11文字以内 |
| 屋号・雅号 | | 30文字以内 |
| 世帯主の氏名 | | |
| 続柄 | | select |
| 提出年月日 | |
| Label | name | Notes |
|---|---|---|
| Name in katakana (last) | | Within 11 characters |
| Name in katakana (first) | | |
| Name in kanji (last) | | Within 10 characters |
| Name in kanji (first) | | |
| Phone number type | | Home/work/mobile |
| Phone number (area code) | | |
| Phone number (local number) | | |
| Phone number (line number) | | |
| Tax payment location category | | 1=Residence, 2=Business office, etc. |
| Postal code | | 7 digits |
| Prefecture | | select |
| Municipality | | select linked to prefecture |
| Chome, block, etc. | | Within 28 characters |
| Building name | | Within 28 characters |
| Tax office to submit to (prefecture) | | select |
| Tax office to submit to | | select linked to prefecture |
| Occupation | | Within 11 characters |
| Trade name/pen name | | Within 30 characters |
| Head of household's name | | |
| Relationship | | select |
| Submission date | |
SS-AC-040: マイナンバーの入力
SS-AC-040: Input My Number
マイナンバー(12桁)を入力する画面。チェックディジットアルゴリズムによる検証あり。
Screen to input My Number (12 digits). Verification via check digit algorithm is performed.
ステップ4: 消費税の申告書入力(該当者のみ)
Step 4: Input Consumption Tax Return (If applicable)
⚠️ ネイティブダイアログ注意: 「次へ」クリック後に画面が遷移しない場合、ネイティブダイアログ(alert/confirm)が表示されている可能性がある。技術的な知見の「ネイティブダイアログの検知と対処」を参照。
所得税申告書の完了後、「他の申告書等を作成する」→ で消費税コーナーに遷移。
doSubmitCSW0900(3,'25')⚠️ Native dialog warning: If screen does not transition after clicking "Next", a native dialog (alert/confirm) may be displayed. Refer to "Detection and Handling of Native Dialogs" in Technical Insights.
After completing income tax return, transition to consumption tax corner by selecting "Create other return forms" → .
doSubmitCSW0900(3,'25')ac0100: 条件判定等
ac0100: Condition Determination, etc.
URL:
https://www.keisan.nta.go.jp/syouhi/ac0100/submit.htmj#bsctrl| フィールド | name | 備考 |
|---|---|---|
| 基準期間の課税売上高 | | R5年分 |
| インボイス発行事業者 | | true/false |
| 簡易課税制度選択 | | true/false |
| 経理方式 | | 税込/税抜 |
URL:
https://www.keisan.nta.go.jp/syouhi/ac0100/submit.htmj#bsctrl| Field | name | Notes |
|---|---|---|
| Taxable sales for base period | | FY2023 |
| Invoice-issuing business operator | | true/false |
| Select simplified taxation system | | true/false |
| Accounting method | | Tax-included/tax-excluded |
インボイス=はい の場合に追加表示
Additional display if invoice=yes
| フィールド | name | 備考 |
|---|---|---|
| 新たに課税事業者か | | true/false |
| 2割特例を適用するか | | true/false |
| Field | name | Notes |
|---|---|---|
| New taxable business operator? | | true/false |
| Apply 20% special provision? | | true/false |
一般課税の場合に追加表示
Additional display for standard taxation
| フィールド | name | 備考 |
|---|---|---|
| 仕入税額の計算方法 | | warimodosi/tumiage |
| Field | name | Notes |
|---|---|---|
| Input tax credit calculation method | | warimodosi/tumiage |
条件判定画面の表示ロジック(基準期間による分岐)
Display logic for condition determination screen (branch by base period)
kijunKazeiUriage| 条件 | 新規課税事業者? | 2割特例? | 簡易課税? |
|---|---|---|---|
| 基準期間=0, invoice=はい | 表示 | 表示 | 非表示 |
| 基準期間=3,000,000, invoice=はい | 表示 | 表示 | 表示 |
| 基準期間=60,000,000, invoice=はい | 非表示 | 非表示 | 表示 |
一般課税のみ: 「税額の計算方法として積上げ計算を選択する方」ボタン(折りたたみセクション内)
Displayed options change depending on (taxable sales for base period):
kijunKazeiUriage| Condition | New taxable business operator? | 20% special provision? | Simplified taxation? |
|---|---|---|---|
| Base period=0, invoice=yes | Display | Display | Not displayed |
| Base period=3,000,000, invoice=yes | Display | Display | Display |
| Base period=60,000,000, invoice=yes | Not displayed | Not displayed | Display |
Standard taxation only: Button for "Those who select cumulative calculation as tax amount calculation method" (within collapsible section)
分岐ロジック
Branch Logic
| 条件 | 遷移先ルート |
|---|---|
| インボイス=はい & 2割特例=はい | 2割特例 |
| 簡易課税=はい | 簡易課税 |
| 上記以外 | 一般課税 |
| Condition | Transition route |
|---|---|
| Invoice=yes & 20% special provision=yes | 20% Special Provision |
| Simplified taxation=yes | Simplified Taxation |
| Other than above | Standard Taxation |
ac0250: 所得区分の選択
ac0250: Select Income Category
URL:
https://www.keisan.nta.go.jp/syouhi/ac0250/submit.htmj#bsctrl該当する所得区分を全て選択する。ヘッダに課税方式(一般課税/簡易課税)と経理方式(税込/税抜)が表示される。
| ラベル | name | 備考 |
|---|---|---|
| 事業所得(営業等) | | メインターゲット |
| 事業所得(農業) | | |
| 不動産所得 | | |
| 雑所得(原稿料等) | | |
| 業務用固定資産等の譲渡所得 | | 一般課税のみ表示 |
URL:
https://www.keisan.nta.go.jp/syouhi/ac0250/submit.htmj#bsctrlSelect all applicable income categories. Taxation method (standard/simplified) and accounting method (tax-included/tax-excluded) are displayed in the header.
| Label | name | Notes |
|---|---|---|
| Business income (sales, etc.) | | Main target |
| Business income (agriculture) | | |
| Real estate income | | |
| Miscellaneous income (royalties, etc.) | | |
| Capital gains from business fixed assets, etc. | | Displayed only for standard taxation |
簡易課税のみ: 事業区分の選択
Simplified taxation only: Select business category
簡易課税の場合、各所得区分に対して事業区分(第1種〜第6種)のサブ選択がある:
| フィールド | name | 備考 |
|---|---|---|
| 事業区分(第1種) | | 卸売業 |
| 事業区分(第2種) | | 小売業 |
| 事業区分(第3種) | | 製造業等 |
| 事業区分(第4種) | | その他 |
| 事業区分(第5種) | | サービス業等 |
| 事業区分(第6種) | | 不動産業 |
For simplified taxation, there are sub-selections for business category (Type 1~6) for each income category:
| Field | name | Notes |
|---|---|---|
| Business category (Type 1) | | Wholesale business |
| Business category (Type 2) | | Retail business |
| Business category (Type 3) | | Manufacturing, etc. |
| Business category (Type 4) | | Other |
| Business category (Type 5) | | Service business, etc. |
| Business category (Type 6) | | Real estate business |
一般課税のみ: 業務用固定資産等
Standard taxation only: Business fixed assets, etc.
| フィールド | name | 備考 |
|---|---|---|
| 業務用固定資産等の購入がある | | checkbox |
| Field | name | Notes |
|---|---|---|
| Purchases of business fixed assets, etc. | | checkbox |
売上入力(全ルート共通フォーム)
Sales Input (Common Form for All Routes)
URL パターン:
- 2割特例:
/syouhi/at3600/inputEigyo.htmj - 簡易課税:
/syouhi/ak3600/inputEigyo.htmj - 一般課税:
/syouhi/ai3600/inputEigyo.htmj
| フィールド | name | 備考 |
|---|---|---|
| 売上(収入)金額 | | 必須。税込総額 |
| 免税売上 | | |
| 非課税売上 | | |
| 不課税取引 | | |
| 軽減税率(6.24%)適用分 | | |
| 返還等対価(軽減) | | |
| 返還等対価(標準) | | |
| 貸倒れ発生(軽減) | | 2割特例・簡易課税のみ |
| 貸倒れ発生(標準) | | 2割特例・簡易課税のみ |
| 貸倒れ回収(軽減) | | 2割特例・簡易課税のみ |
| 貸倒れ回収(標準) | | 2割特例・簡易課税のみ |
| 貸倒れ発生有無 | | 2割特例・簡易課税のみ (radio) |
URL patterns:
- 20% Special Provision:
/syouhi/at3600/inputEigyo.htmj - Simplified Taxation:
/syouhi/ak3600/inputEigyo.htmj - Standard Taxation:
/syouhi/ai3600/inputEigyo.htmj
| Field | name | Notes |
|---|---|---|
| Sales (revenue) amount | | Required. Total tax-included amount |
| Tax-exempt sales | | |
| Non-taxable sales | | |
| Exempt transactions | | |
| Reduced tax rate (6.24%) applicable amount | | |
| Consideration for returns, etc. (reduced) | | |
| Consideration for returns, etc. (standard) | | |
| Bad debt occurrence (reduced) | | Only for 20% special provision/simplified taxation |
| Bad debt occurrence (standard) | | Only for 20% special provision/simplified taxation |
| Bad debt recovery (reduced) | | Only for 20% special provision/simplified taxation |
| Bad debt recovery (standard) | | Only for 20% special provision/simplified taxation |
| Presence/absence of bad debt occurrence | | Only for 20% special provision/simplified taxation (radio) |
一般課税のみの追加フィールド
Additional fields for standard taxation only
| フィールド | name | 備考 |
|---|---|---|
| 非課税返還 | | |
| 非課税資産の輸出等返還 | |
| Field | name | Notes |
|---|---|---|
| Non-taxable returns | | |
| Returns of non-taxable assets, etc. | |
中間納付税額等の入力(全ルート共通)
Input Interim Payment Tax Amount, etc. (Common to All Routes)
| name | 備考 |
|---|---|
| 中間納付消費税額 |
| 中間納付譲渡割額 |
| name | Notes |
|---|---|
| Interim consumption tax payment amount |
| Interim transfer tax payment amount |
一般課税(積上げ計算)専用: 決算額テーブル
Standard Taxation (Cumulative Calculation) Only: Settlement Amount Table
URL:
/syouhi/ai3610/submit.htmj積上げ計算選択時のみ表示される大規模フォーム(194項目)。
青色申告決算書の各勘定科目に対して、決算額・課税取引金額・軽減税率分・免税事業者等取引分を入力。
フィールド名パターン: (割戻し) / (積上げ)
{科目略称}{列略称}Wari{科目略称}{列略称}Tumi列略称: (決算額), (課税取引にならないもの), (軽減税率分), (免税事業者等/軽減), (免税事業者等/標準)
KessanKazeiIgaiKeigen624MenzeiKeigenMenzei| 科目 | プレフィックス |
|---|---|
| 仕入金額 | |
| 租税公課 | |
| 荷造運賃 | |
| 水道光熱費 | |
| 旅費交通費 | |
| 通信費 | |
| 広告宣伝費 | |
| 接待交際費 | |
| 損害保険料 | |
| 修繕費 | |
| 消耗品費 | |
| 減価償却費 | |
| 福利厚生費 | |
| 給料賃金 | |
| 外注工賃 | |
| 利子割引料 | |
| 地代家賃 | |
| 貸倒金 | |
| 任意科目 | |
| 雑費 | |
URL:
/syouhi/ai3610/submit.htmjLarge-scale form (194 items) displayed only when cumulative calculation is selected. Input settlement amount, taxable transaction amount, reduced tax rate amount, and transactions with tax-exempt business operators, etc. for each account item in the blue return financial statement.
Field name pattern: (warimodosi) / (tumiage)
{account abbreviation}{column abbreviation}Wari{account abbreviation}{column abbreviation}TumiColumn abbreviations: (Settlement amount), (Non-taxable transactions), (Reduced tax rate), (Tax-exempt business operators/reduced), (Tax-exempt business operators/standard)
KessanKazeiIgaiKeigen624MenzeiKeigenMenzei| Account | Prefix |
|---|---|
| Purchase amount | |
| Taxes and public dues | |
| Packing and transportation expenses | |
| Water, light, and heat expenses | |
| Travel and transportation expenses | |
| Communication expenses | |
| Advertising and promotion expenses | |
| Entertainment expenses | |
| Property insurance premiums | |
| Repair expenses | |
| Supplies expenses | |
| Depreciation expenses | |
| Welfare expenses | |
| Salaries and wages | |
| Outsourcing expenses | |
| Interest and discount fees | |
| Rent expenses | |
| Bad debt expenses | |
| Optional items | |
| Miscellaneous expenses | |
テーブル下の Yes/No 質問(一般課税のみ)
Yes/No questions below table (standard taxation only)
| フィールド | name | 内容 |
|---|---|---|
| 発生した貸倒金 | | radio |
| 回収した貸倒金 | | radio |
| 保税地域からの引取貨物 | | radio |
| 課税仕入れに係る対価の返還等 | | radio |
| 課税事業者になった方の棚卸高調整 | | radio |
| 免税事業者になる方の棚卸高調整 | | radio |
| Field | name | Content |
|---|---|---|
| Bad debt occurred | | radio |
| Bad debt recovered | | radio |
| Goods taken out from bonded area | | radio |
| Return of consideration for taxable purchases, etc. | | radio |
| Inventory adjustment for those who became taxable business operators | | radio |
| Inventory adjustment for those who became tax-exempt business operators | | radio |
簡易課税のみ: 仕入税額控除の控除方式の選択
Simplified Taxation Only: Select Input Tax Credit Method
URL:
/syouhi/ak2140/submit.htmj2種以上の事業を営む場合に表示される。以下から選択:
- 原則計算
- 特例計算(2種特例/3種特例/75%特例)
URL:
/syouhi/ak2140/submit.htmjDisplayed if operating two or more types of businesses. Select from:
- Standard calculation
- Special calculation (2-type special case/3-type special case/75% special case)
ac0300: 消費税計算結果の確認
ac0300: Confirm Consumption Tax Calculation Results
全ルート共通の結果画面。ヘッダ部で「2割特例」「簡易課税」「一般課税」を表示。
表示項目:
- 課税標準額
- 消費税額
- 控除税額小計
- 差引税額(100円未満切捨て)
- 中間納付税額
- 納付税額
- 地方消費税 譲渡割額(= 差引税額 × 22/78、100円未満切捨て)
- 中間納付譲渡割額
- 合計納付税額
Common result screen for all routes. "20% Special Provision", "Simplified Taxation", or "Standard Taxation" is displayed in the header.
Display items:
| 項目 | 2割特例 (売上5M) | 簡易課税 第5種 (売上5M) | 一般課税 (売上66M, 仕入0) |
|---|---|---|---|
| Tax base amount | ¥4,545,000 | ¥4,545,000 | ¥60,000,000 |
| Consumption tax amount | ¥354,510 | ¥354,510 | ¥4,680,000 |
| Input tax credit subtotal | ¥283,608 (×80%) | ¥177,255 (×50%) | ¥0 |
| Net tax amount | ¥70,900 | ¥177,200 | ¥4,680,00 |
| Local consumption tax transfer amount | ¥19,900 | ¥49,900 | ¥1,320,000 |
| Total payment amount | ¥90,800 | ¥227,100 | ¥6,000,000 |
一般課税のみの追加表示項目
Additional display items for standard taxation only
- 「控除過大調整税額」
- 「課税売上割合」セクション(課税資産の譲渡等の対価の額 / 資産の譲渡等の対価の額)
- "Excessive input tax credit adjustment tax amount"
- "Taxable sales ratio" section (Consideration for transfer of taxable assets, etc. / Consideration for transfer of assets, etc.)
消費税 納税地等の入力
Input Consumption Tax Payment Location, etc.
URL パターン(ルートごとに異なる):
- 2割特例:
/syouhi/at1400/submit.htmj - 簡易課税:
/syouhi/ak1400/submit.htmj - 一般課税:
/syouhi/ai1400/submit.htmj
画面は全ルートで同一構造(pageId=ac0400)。
| フィールド | name | type | 備考 |
|---|---|---|---|
| 納付方法 | | select | |
| 納税地区分 | | radio | |
| 郵便番号1 | | text | |
| 郵便番号2 | | text | |
| 都道府県 | | select | 住所用コード: 13=東京都 |
| 市区町村 | | select | |
| 丁目番地等 | | text | |
| 税務署都道府県 | | select | 税務署用コード: 15=東京都 ← 住所と異なるコード体系! |
| 税務署 | | select | |
| 氏名カナ(姓) | | text | |
| 氏名カナ(名) | | text | |
| 氏名漢字(姓) | | text | |
| 氏名漢字(名) | | text | |
| マイナンバー1 | | password | |
| マイナンバー2 | | password | |
| マイナンバー3 | | password | |
| 電話番号1 | | text | |
| 電話番号2 | | text | |
| 電話番号3 | | text |
⚠️ 注意: 住所の都道府県コード(: 13=東京都)と税務署の都道府県コード(: 15=東京都)で異なるコード体系が使用されている。
nozeitiPrefectureCodeprefectureCodeURL patterns (vary by route):
- 20% Special Provision:
/syouhi/at1400/submit.htmj - Simplified Taxation:
/syouhi/ak1400/submit.htmj - Standard Taxation:
/syouhi/ai1400/submit.htmj
Screen structure is the same for all routes (pageId=ac0400).
| Field | name | type | Notes |
|---|---|---|---|
| Payment method | | select | |
| Tax payment location category | | radio | |
| Postal code 1 | | text | |
| Postal code 2 | | text | |
| Prefecture | | select | Residence code: 13=Tokyo |
| Municipality | | select | |
| Chome, block, etc. | | text | |
| Tax office prefecture | | select | Tax office code: 15=Tokyo ← Different code system from residence! |
| Tax office | | select | |
| Name in katakana (last) | | text | |
| Name in katakana (first) | | text | |
| Name in kanji (last) | | text | |
| Name in kanji (first) | | text | |
| My Number 1 | | password | |
| My Number 2 | | password | |
| My Number 3 | | password | |
| Phone number 1 | | text | |
| Phone number 2 | | text | |
| Phone number 3 | | text |
⚠️ Note: Different code systems are used for residence prefecture code (: 13=Tokyo) and tax office prefecture code (: 15=Tokyo).
nozeitiPrefectureCodeprefectureCode消費税 計算結果のテストデータ
Consumption Tax Calculation Result Test Data
| 項目 | 2割特例 (売上5M) | 簡易課税 第5種 (売上5M) | 一般課税 (売上66M, 仕入0) |
|---|---|---|---|
| 課税標準額 | 4,545,000円 | 4,545,000円 | 60,000,000円 |
| 消費税額 | 354,510円 | 354,510円 | 4,680,000円 |
| 控除税額 | 283,608円 (×80%) | 177,255円 (×50%) | 0円 |
| 差引税額 | 70,900円 | 177,200円 | 4,680,000円 |
| 地方消費税譲渡割額 | 19,900円 | 49,900円 | 1,320,000円 |
| 合計納付 | 90,800円 | 227,100円 | 6,000,000円 |
| Item | 20% Special Provision (¥5M sales) | Simplified Taxation Type 5 (¥5M sales) | Standard Taxation (¥66M sales, ¥0 purchases) |
|---|---|---|---|
| Tax base amount | ¥4,545,000 | ¥4,545,000 | ¥60,000,000 |
| Consumption tax amount | ¥354,510 | ¥354,510 | ¥4,680,000 |
| Input tax credit subtotal | ¥283,608 (×80%) | ¥177,255 (×50%) | ¥0 |
| Net tax amount | ¥70,900 | ¥177,200 | ¥4,680,000 |
| Local consumption tax transfer amount | ¥19,900 | ¥49,900 | ¥1,320,000 |
| Total payment amount | ¥90,800 | ¥227,100 | ¥6,000,000 |
3ルートの計算方式の違い
Differences in Calculation Methods for Three Routes
| 項目 | 2割特例 | 簡易課税 | 一般課税 |
|---|---|---|---|
| 控除税額 | 消費税額×80% | みなし仕入率 | 実額(割戻し or 積上げ) |
| 仕入入力 | 不要 | 不要 | 割戻し: 不要 / 積上げ: 決算額テーブル |
| URL prefix | /at**** | /ak**** | /ai**** |
⚠️ ネイティブダイアログ注意: 消費税コーナー終了時は 2段階のネイティブダイアログが表示される —(他の申告書等を作成しますか?)と#otherTax(終了してもよろしいですか?)。画面が遷移しない場合はダイアログの有無をユーザーに確認し、それぞれ適切にクリックするよう案内すること。#end
| Item | 20% Special Provision | Simplified Taxation | Standard Taxation |
|---|---|---|---|
| Input tax credit | Consumption tax amount ×80% | Deemed purchase rate | Actual amount (warimodosi or tumiage) |
| Purchase input | Not required | Not required | Warimodosi: Not required / Tumiage: Settlement amount table |
| URL prefix | /at**** | /ak**** | /ai**** |
⚠️ Native dialog warning: When exiting the consumption tax corner, two-stage native dialogs are displayed —(Do you want to create other return forms?) and#otherTax(Are you sure you want to exit?). If screen does not transition, confirm with user whether dialogs are displayed and guide them to click appropriately.#end
ステップ5: 申告内容の確認
Step 5: Confirm Declaration Contents
作成コーナーの確認画面で、shinkoku の計算結果と一致しているか検証する。
Verify that the contents match shinkoku calculation results on the preparation corner confirmation screen.
検証項目
Verification Items
□ 合計所得金額が一致するか
□ 所得控除合計が一致するか
□ 課税所得金額が一致するか
□ 算出税額が一致するか
□ 税額控除が一致するか
□ 復興特別所得税が一致するか
□ 申告納税額(または還付額)が一致するか
□ 消費税の納付税額が一致するか(該当者のみ)不一致がある場合は、差異の原因を調査し、ユーザーに報告する。
□ Total income amount matches
□ Total income deductions match
□ Taxable income amount matches
□ Calculated tax amount matches
□ Tax credit matches
□ Special reconstruction income tax matches
□ Declared tax payment amount (or refund amount) matches
□ Consumption tax payment amount matches (if applicable)If there are discrepancies, investigate the cause and report to user.
ステップ5.5: .data ファイルの保存と次ステップの選択(意思決定ゲート)
Step 5.5: Save .data File and Select Next Step (Decision Gate)
★ ユーザー確認待ち — 明示的な指示なくステップ6(電子署名・送信)に進んではならない
2段階ゲート構造: ステップ5.5 は「送信フェーズに進むかどうかの意思決定ゲート」。 ステップ6-3 は「送信ボタン直前の操作ゲート(AI は送信しない、ユーザーが手動で送信する)」。 両方のゲートを通過しない限り、送信は実行されない。
申告内容の確認が完了した時点で、以下の手順を実行する。
★ Wait for user confirmation — Do not proceed to Step 6 (Digital Signature and Transmission) without explicit instruction
Two-stage gate structure: Step 5.5 is the "decision gate for whether to proceed to the transmission phase". Step 6-3 is the "operation gate immediately before the transmission button (AI does not transmit, user transmits manually)". Transmission is not executed unless both gates are passed.
Once declaration contents are confirmed, execute the following steps.
.data ファイルのダウンロード案内
Guide to Download .data File
ユーザーに .data ファイルの保存を案内する:
申告内容の入力と確認が完了しました。
電子署名・送信に進む前に、入力データを .data ファイルとして保存することを強く推奨します。
画面上部の「入力データの一時保存」ボタン(またはページ下部の「ここまでの入力データを保存する」リンク)
をクリックし、ファイルをダウンロードしてください。Guide user to save .data file:
Input and confirmation of declaration contents are complete.
We strongly recommend saving the input data as a .data file before proceeding to digital signature and transmission.
Click the "Temporarily save input data" button at the top of the screen (or the "Save input data up to this point" link at the bottom of the page)
and download the file.次の操作の選択
Select Next Operation
AskUserQuestion で以下を表示する:
次の操作を選択してください。- 選択肢:
- 「電子署名・送信に進む」→ ステップ6 へ
- 「入力内容を見直す」→ 見直したいステップを確認し、該当ステップに戻る
- 「ここで中断する」→ 中断・再開プロトコルの中断手順に従い終了する
重要: ユーザーが「電子署名・送信に進む」を明示的に選択するまで、絶対にステップ6に進まないこと。
Display the following using AskUserQuestion:
Please select the next operation.- Options:
- "Proceed to digital signature and transmission" → Proceed to Step 6
- "Review input contents" → Confirm step to review and return to applicable step
- "Stop here" → Follow interruption procedure in Interruption/Resumption Protocol and exit
Important: Do not proceed to Step 6 until user explicitly selects "Proceed to digital signature and transmission".
ステップ6: 電子署名と送信(所得税)
Step 6: Digital Signature and Transmission (Income Tax)
前提: ステップ5.5 でユーザーが「電子署名・送信に進む」を選択済みであること。この前提が満たされていない場合はステップ5.5 に戻る。
Prerequisite: User has selected "Proceed to digital signature and transmission" in Step 5.5. If this prerequisite is not met, return to Step 5.5.
6-1: 電子署名(ユーザーの手動操作)
6-1: Digital Signature (User Manual Operation)
マイナンバーカードで電子署名する。署名用パスワード(6〜16桁の英数字)が必要。
★ ユーザー操作待ち — ブラウザ操作を一時停止
AskUserQuestion で以下を表示する:
電子署名の画面に進みます。
マイナンバーカードで電子署名を行ってください。
署名が完了したら「署名完了」を選択してください。- 選択肢: 「署名完了」 / 「署名で問題が発生した」
- ユーザーが「署名完了」を選択するまで、一切のブラウザ操作を行わない
Digitally sign with My Number Card. A signature password (6-16 alphanumeric characters) is required.
★ Wait for user operation — Pause browser operation
Display the following using AskUserQuestion:
Proceeding to digital signature screen.
Perform digital signature with your My Number Card.
Please select "Signature completed" once signature is done.- Options: "Signature completed" / "Problem occurred during signature"
- Do not perform any browser operations until user selects "Signature completed"
6-2: 送信前確認ページでの一次確認
6-2: Primary Confirmation on Pre-Transmission Confirmation Page
電子署名完了後、送信前の最終確認ページが表示される。
- ブラウザ上の確認ページの内容を読み取る
- 主要項目をユーザーに報告する(収入・所得・税額・納付/還付額など)
- shinkoku の計算結果との照合結果を報告する
After digital signature is completed, final pre-transmission confirmation page is displayed.
- Read contents of confirmation page on browser
- Report main items to user (income, income, tax amount, payment/refund amount, etc.)
- Report comparison results with shinkoku calculation results
6-3: ブラウザ操作の一時停止(送信はユーザー操作)
6-3: Pause Browser Operation (User Manually Transmits)
★★★ 絶対に AI が送信ボタンをクリックしてはならない ★★★
★★★ ユーザーが「送信完了」を選択するまで、一切のブラウザ操作を行わない ★★★
★ ユーザー操作待ち — ブラウザ操作を一時停止
AskUserQuestion で以下を表示する:
送信前の申告内容確認ページが表示されています。
上記の内容をご確認ください。
問題がなければ、ご自身の操作で画面上の「送信を実行する」ボタンを
クリックしてください。
送信が完了したら「送信完了」を選択してください。- 選択肢: 「送信完了」 / 「入力内容を見直したい」
- 「入力内容を見直したい」が選ばれた場合は、見直したい箇所を確認し、該当ステップに戻る
★★★ AI must never click the transmission button ★★★
★★★ Do not perform any browser operations until user selects "Transmission completed" ★★★
★ Wait for user operation — Pause browser operation
Display the following using AskUserQuestion:
Pre-transmission declaration content confirmation page is displayed.
Please confirm the above contents.
If there are no issues, click the "Execute transmission" button on the screen
with your own operation.
Please select "Transmission completed" once transmission is done.- Options: "Transmission completed" / "Want to review input contents"
- If "Want to review input contents" is selected, confirm location to review and return to applicable step
6-4: 送信後の処理(Claude 再開)
6-4: Post-Transmission Processing (Resume Claude)
ユーザーが「送信完了」を選択したら:
- 受付番号の記録 — 画面から受付番号を読み取って記録する
- 受信通知の確認 — メッセージボックスで受信通知を確認する
- 消費税の申告 — 消費税の申告が必要な場合はステップ6.5 に進む。不要な場合はステップ7 に進む
Once user selects "Transmission completed":
- Record acceptance number — Read and record acceptance number from screen
- Confirm reception notification — Confirm reception notification in message box
- Consumption tax declaration — Proceed to Step 6.5 if consumption tax declaration is required. Proceed to Step 7 if not required
注意事項
Notes
- 送信後の修正は「修正申告」として再提出が必要
- ★★★ 送信操作は必ずユーザーの手動操作で行う — エージェントが送信ボタンを自動クリックすることは絶対に禁止 ★★★
- Corrections after transmission require re-submission as an "amended return"
- ★★★ Transmission must always be done manually by the user — Agent must never automatically click the transmission button ★★★
ステップ6.5: 消費税の電子署名と送信(該当者のみ)
Step 6.5: Digital Signature and Transmission for Consumption Tax (If applicable)
消費税の申告が必要な場合、所得税の送信完了後に消費税コーナーで申告書を作成する(ステップ4)。
消費税の入力・確認が完了したら、以下の送信プロトコルに従う。
If consumption tax declaration is required, create return form in consumption tax corner after income tax transmission is completed (Step 4). Once input and confirmation of consumption tax are complete, follow the transmission protocol below.
6.5-1: 消費税の送信フェーズに進む前の確認
6.5-1: Confirmation Before Proceeding to Consumption Tax Transmission Phase
消費税の計算結果確認(ac0300)と納税地等の入力が完了した時点で、以下を実行する。
★ ユーザー確認待ち — 明示的な指示なく電子署名・送信に進んではならない
AskUserQuestion で以下を表示する:
消費税の申告内容の入力と確認が完了しました。
電子署名・送信に進む前に、入力データを .data ファイルとして保存することを強く推奨します。
画面上部の「入力データの一時保存」ボタンをクリックし、ファイルをダウンロードしてください。
次の操作を選択してください。- 選択肢:
- 「電子署名・送信に進む」→ 6.5-2 へ
- 「入力内容を見直す」→ 見直したい箇所を確認し、該当ステップに戻る
- 「ここで中断する」→ 中断・再開プロトコルの中断手順に従い終了する
重要: ユーザーが「電子署名・送信に進む」を明示的に選択するまで、絶対に送信フェーズに進まないこと。
Once consumption tax calculation result confirmation (ac0300) and payment location input are complete, execute the following.
★ Wait for user confirmation — Do not proceed to digital signature and transmission without explicit instruction
Display the following using AskUserQuestion:
Input and confirmation of consumption tax declaration contents are complete.
We strongly recommend saving the input data as a .data file before proceeding to digital signature and transmission.
Click the "Temporarily save input data" button at the top of the screen and download the file.
Please select the next operation.- Options:
- "Proceed to digital signature and transmission" → Proceed to 6.5-2
- "Review input contents" → Confirm location to review and return to applicable step
- "Stop here" → Follow interruption procedure in Interruption/Resumption Protocol and exit
Important: Do not proceed to transmission phase until user explicitly selects "Proceed to digital signature and transmission".
6.5-2: 電子署名(ユーザーの手動操作)
6.5-2: Digital Signature (User Manual Operation)
マイナンバーカードで電子署名する。
★ ユーザー操作待ち — ブラウザ操作を一時停止
AskUserQuestion で以下を表示する:
消費税の電子署名の画面に進みます。
マイナンバーカードで電子署名を行ってください。
署名が完了したら「署名完了」を選択してください。- 選択肢: 「署名完了」 / 「署名で問題が発生した」
- ユーザーが「署名完了」を選択するまで、一切のブラウザ操作を行わない
Digitally sign with My Number Card.
★ Wait for user operation — Pause browser operation
Display the following using AskUserQuestion:
Proceeding to consumption tax digital signature screen.
Perform digital signature with your My Number Card.
Please select "Signature completed" once signature is done.- Options: "Signature completed" / "Problem occurred during signature"
- Do not perform any browser operations until user selects "Signature completed"
6.5-3: 送信前確認ページでの一次確認
6.5-3: Primary Confirmation on Pre-Transmission Confirmation Page
電子署名完了後、送信前の最終確認ページが表示される。
- ブラウザ上の確認ページの内容を読み取る
- 主要項目をユーザーに報告する(課税標準額・消費税額・差引税額・地方消費税・合計納付税額など)
- shinkoku の計算結果との照合結果を報告する
After digital signature is completed, final pre-transmission confirmation page is displayed.
- Read contents of confirmation page on browser
- Report main items to user (Tax base amount, consumption tax amount, net tax amount, local consumption tax, total payment amount, etc.)
- Report comparison results with shinkoku calculation results
6.5-4: ブラウザ操作の一時停止(送信はユーザー操作)
6.5-4: Pause Browser Operation (User Manually Transmits)
★★★ 絶対に AI が送信ボタンをクリックしてはならない ★★★
★★★ ユーザーが「送信完了」を選択するまで、一切のブラウザ操作を行わない ★★★
★ ユーザー操作待ち — ブラウザ操作を一時停止
AskUserQuestion で以下を表示する:
消費税の送信前確認ページが表示されています。
上記の内容をご確認ください。
問題がなければ、ご自身の操作で画面上の「送信を実行する」ボタンを
クリックしてください。
送信が完了したら「送信完了」を選択してください。- 選択肢: 「送信完了」 / 「入力内容を見直したい」
- 「入力内容を見直したい」が選ばれた場合は、見直したい箇所を確認し、該当ステップに戻る
★★★ AI must never click the transmission button ★★★
★★★ Do not perform any browser operations until user selects "Transmission completed" ★★★
★ Wait for user operation — Pause browser operation
Display the following using AskUserQuestion:
Consumption tax pre-transmission confirmation page is displayed.
Please confirm the above contents.
If there are no issues, click the "Execute transmission" button on the screen
with your own operation.
Please select "Transmission completed" once transmission is done.- Options: "Transmission completed" / "Want to review input contents"
- If "Want to review input contents" is selected, confirm location to review and return to applicable step
6.5-5: 送信後の処理(Claude 再開)
6.5-5: Post-Transmission Processing (Resume Claude)
ユーザーが「送信完了」を選択したら:
- 受付番号の記録 — 画面から受付番号を読み取って記録する
- 受信通知の確認 — メッセージボックスで受信通知を確認する
- ステップ7 の .data ファイル保存案内に進む
Once user selects "Transmission completed":
- Record acceptance number — Read and record acceptance number from screen
- Confirm reception notification — Confirm reception notification in message box
- Proceed to Step 7 guide to save .data file
ステップ7: .data ファイルの保存案内
Step 7: Guide to Save .data File
作成コーナーでは申告データを ファイルとして保存できる。
.dataDeclaration data can be saved as a file in the preparation corner.
.data送信後の .data ファイル再保存(推奨)
Re-save .data File After Transmission (Recommended)
送信完了後の ファイルには受付番号・送信日時等の追加情報が含まれる。
ステップ5.5 で保存済みであっても、送信後に改めて .data ファイルを再保存することを推奨する。
.dataAskUserQuestion で以下を表示する:
送信が完了しました。送信後の .data ファイルには受付番号等の情報が追加されています。
「入力データを保存する」で .data ファイルを再度ダウンロードすることを推奨します。
ダウンロードが完了したら「ダウンロード済み」を選択してください。- 選択肢: 「ダウンロード済み」 / 「スキップ」
The file after transmission includes additional information such as acceptance number and transmission date/time. Even if saved in Step 5.5, we recommend re-saving the .data file after transmission.
.dataDisplay the following using AskUserQuestion:
Transmission is complete. The .data file after transmission includes information such as acceptance number.
We recommend re-downloading the .data file via "Save input data".
Please select "Downloaded" once download is complete.- Options: "Downloaded" / "Skip"
.data ファイルの用途
Uses of .data File
- ファイルがあれば、次回は「保存データを利用して作成」から途中再開できる
.data - 控えとしても有用(来年の申告時に前年データとして参照可能)
- 修正申告が必要になった場合、ファイルから入力データを復元できる
.data
- If you have a .data file, you can resume from the middle next time via "Create using saved data"
- Useful as a copy (can be referenced as previous year's data during next year's declaration)
- If amended return is required, input data can be restored from .data file
技術的な知見
Technical Insights
SPA構造
SPA Structure
- jQuery 3 + jQuery UI ベース
- ページ遷移はフォーム POST()
document.forms[formName].submit() - ハッシュ (決算書コーナー)/
#bsctrl(所得税コーナー)はページ管理用#bbctrl - が多用されており、
<input type="button">で JSid="input_xxx"操作.click()
- Based on jQuery 3 + jQuery UI
- Page transitions are via form POST ()
document.forms[formName].submit() - Hashes (Financial Statement Corner) /
#bsctrl(Income Tax Corner) are for page management#bbctrl - is frequently used, and JS
<input type="button">operation is performed with.click()id="input_xxx"
URL体系
URL System
| コーナー | URL パターン |
|---|---|
| 共通(認証等) | |
| 決算書 | |
| 所得税 | |
| 消費税(共通) | |
| 消費税(2割特例) | |
| 消費税(一般課税) | |
| 消費税(簡易課税) | |
| Corner | URL Pattern |
|---|---|
| Common (authentication, etc.) | |
| Financial Statement | |
| Income Tax | |
| Consumption Tax (Common) | |
| Consumption Tax (20% Special Provision) | |
| Consumption Tax (Standard Taxation) | |
| Consumption Tax (Simplified Taxation) | |
主要ナビゲーション関数
Main Navigation Functions
- — 認証方法選択
doSubmitCSW0100(qrCodeReadingFlag, reportType, url) - — 申告書種類選択(1=所得税, 2=決算書, 3=消費税, 4=贈与税)
doSubmitCMW0900(zeimokuType, year)
- — Select authentication method
doSubmitCSW0100(qrCodeReadingFlag, reportType, url) - — Select return form type (1=Income Tax, 2=Financial Statement, 3=Consumption Tax, 4=Gift Tax)
doSubmitCMW0900(zeimokuType, year)
確認ダイアログ
Confirmation Dialogs
| コード | 内容 | 対応 |
|---|---|---|
| KS-W90011 | 入力データが初期化される | OK で続行 |
| KS-W90006 | 入力データをクリアする | OK で続行 |
| KS-W10035 | 印刷を確認したか | OK で続行 |
| KS-E10089 | e-Tax送信が必要(65万円控除) | e-Tax ルートで再実行 |
| KS-E10001 | 必須入力チェック | 入力漏れを修正 |
| KS-E40003 | B/S 資産期末合計 ≠ 負債期末合計 | 金額を修正 |
| Code | Content | Response |
|---|---|---|
| KS-W90011 | Input data will be initialized | Continue with OK |
| KS-W90006 | Clear input data | Continue with OK |
| KS-W10035 | Have you confirmed printing? | Continue with OK |
| KS-E10089 | e-Tax filing is required (¥650,000 deduction) | Re-execute via e-Tax route |
| KS-E10001 | Required input check | Correct input omissions |
| KS-E40003 | B/S total assets at end of period ≠ total liabilities at end of period | Correct amounts |
終了ダイアログフロー
Exit Dialog Flow
消費税コーナー終了時は2段階のダイアログが表示される:
- — 「他の申告書等を作成しますか?」
#otherTax - — 「終了してもよろしいですか?」
#end
※ 書面提出選択時はサーベイダイアログが毎回表示される(セッション間で記憶されない)
Two-stage dialogs are displayed when exiting the consumption tax corner:
- — "Do you want to create other return forms?"
#otherTax - — "Are you sure you want to exit?"
#end
Note: A survey dialog is displayed every time when paper filing is selected (not remembered between sessions)
ネイティブダイアログの検知と対処
Detection and Handling of Native Dialogs
Claude in Chrome は / / によるネイティブダイアログを検知できない。
ダイアログが表示されている間、ブラウザの DOM 操作はブロックされるため、エージェントの操作が無応答になる。
alert()confirm()prompt()Claude in Chrome cannot detect native dialogs via / / . While dialog is displayed, DOM operations on browser are blocked, so agent operations become unresponsive.
alert()confirm()prompt()検知ヒューリスティック
Detection Heuristics
ボタンクリック後に以下の状態が続く場合、ネイティブダイアログが表示されている可能性がある:
- URL が変化しない
- DOM の内容が変化しない(新しい画面に遷移しない)
- ボタンのクリックが何も起こさないように見える
A native dialog may be displayed if the following state continues after button click:
- URL does not change
- DOM contents do not change (no transition to new screen)
- Button click appears to do nothing
対処手順
Handling Procedure
- ダイアログの可能性を検知したら、AskUserQuestion で以下を表示する:
ボタンをクリックしましたが、画面が遷移しません。
ブラウザにポップアップ(確認ダイアログ)が表示されていませんか?
表示されている場合は、ダイアログの内容(コード番号がある場合はそれも)を教えてください。- 選択肢: 「ダイアログが表示されている」 / 「ダイアログは表示されていない」
-
ダイアログが表示されている場合:
- ユーザーにダイアログのメッセージ内容を確認する
- 既知のコード(上記「確認ダイアログ」テーブルの KS-W*, KS-E* 等)に該当するか照合する
- KS-W 系(警告): ユーザーに「OK」をクリックするよう案内
- KS-E 系(エラー): エラー内容に応じた修正を案内
- 不明なダイアログ: ユーザーにメッセージ全文を共有してもらい、対処を判断
-
ダイアログが表示されていない場合:
- ネットワークエラーやページ読み込み中の可能性を調査する
- ページの再読み込みを試みる
- If dialog possibility is detected, display the following using AskUserQuestion:
Button was clicked, but screen did not transition.
Is a pop-up (confirmation dialog) displayed in your browser?
If displayed, please tell us the dialog contents (including code number if any).- Options: "Dialog is displayed" / "Dialog is not displayed"
-
If dialog is displayed:
- Confirm dialog message content with user
- Check if it corresponds to known codes (KS-W*, KS-E*, etc. in "Confirmation Dialogs" table above)
- KS-W series (warning): Guide user to click "OK"
- KS-E series (error): Guide correction according to error content
- Unknown dialog: Ask user to share full message and determine handling
-
If dialog is not displayed:
- Investigate possibility of network error or page loading
- Try reloading page
ダイアログが発生しやすい操作
Operations Where Dialogs Are Likely to Occur
| 操作 | 想定ダイアログ | ステップ |
|---|---|---|
| 「次へ進む」クリック全般 | KS-E10001(必須入力チェック) | 2, 3, 4 |
| 65万円控除の選択 | KS-E10089(e-Tax送信必須) | 2 |
| B/S 入力後の「次へ」 | KS-E40003(資産≠負債) | 2 |
| 決算書完了→所得税遷移 | KS-W10035(印刷確認) | 2→3 |
| 消費税コーナー終了 | | 4 |
| データクリア・初期化操作 | KS-W90011, KS-W90006 | 全般 |
| Operation | Expected Dialog | Step |
|---|---|---|
| General "Proceed to next" clicks | KS-E10001 (Required input check) | 2, 3, 4 |
| Selection of ¥650,000 deduction | KS-E10089 (e-Tax filing required) | 2 |
| "Next" after B/S input | KS-E40003 (Assets ≠ Liabilities) | 2 |
| Financial statement completion → Income tax transition | KS-W10035 (Print confirmation) | 2→3 |
| Consumption tax corner exit | | 4 |
| Data clear/initialization operations | KS-W90011, KS-W90006 | General |
環境チェック(参考)
Environment Check (Reference)
確定申告書等作成コーナーの推奨環境:
- Windows 11 + Chrome / Edge
- macOS + Safari
Linux は公式非対応。OS 検出は 2層 で行われるため、回避にも2層の偽装が必要:
-
クライアントサイド検出: CC-AA-024 の画面遷移時にが
termnalInfomationCheckOS_myNumberLinkage()/navigator.platformを検査し、Linux 環境ではnavigator.userAgentとなり QR コード認証画面(CC-AA-440)への遷移がブロックされる。isTransition=false -
サーバーサイド OS ベイク: サーバーが HTTP リクエストの/
User-Agentヘッダ から OS を判定し、レスポンス内のsec-ch-ua-platform関数にgetClientOS()のようにハードコードする (サーバーサイドレンダリング)。const os = "Linux"による navigator プロパティ偽装ではこのベイク値は変わらない。 CC-AA-440 のaddInitScriptでもdisplayQrcode()が呼ばれ、getClientOS()を決定する (Win=oStUseType, Mac='3')。Linux だと'4'になり QR コードが描画されない。undefined
Recommended environment for Tax Return Preparation Corner:
- Windows 11 + Chrome / Edge
- macOS + Safari
Linux is officially unsupported. OS detection is performed in two layers, so two layers of spoofing are required for circumvention:
-
Client-side detection:inspects
termnalInfomationCheckOS_myNumberLinkage()/navigator.platformduring screen transition to CC-AA-024, andnavigator.userAgentin Linux environment, blocking transition to QR code authentication screen (CC-AA-440).isTransition=false -
Server-side OS bake: Server determines OS from/
User-Agentheaders of HTTP request, and hardcodessec-ch-ua-platforminconst os = "Linux"function in response (server-side rendering). Navigator property spoofing viagetClientOS()does not change this bake value.addInitScriptis also called ingetClientOS()for CC-AA-440 to determinedisplayQrcode()(Win=oStUseType, Mac='3'). If Linux, it becomes'4'and QR code is not rendered.undefined
etax-stealth.js
の2層偽装
etax-stealth.jsTwo-Layer Spoofing with etax-stealth.js
etax-stealth.jsPLAYWRIGHT_MCP_INIT_SCRIPTetax-stealth.jsbash
PLAYWRIGHT_MCP_INIT_SCRIPT=skills/e-tax/scripts/etax-stealth.js \
playwright-cli -s=etax open https://www.keisan.nta.go.jp/ --headed --browser=chrome層 1: navigator プロパティ偽装( で実行、ページ読み込み前)
addInitScript| プロパティ | 偽装値 |
|---|---|
| |
| Windows Chrome 131 UA |
| Windows Chrome Client Hints |
| |
| Chrome 標準プラグイン |
| |
層 2: サーバーベイク関数のパッチ( で実行、ページスクリプト後)
DOMContentLoaded| パッチ対象 | 偽装値 | 目的 |
|---|---|---|
| | サーバーベイク値の上書き |
| | OS バージョン判定の回避 |
| | 推奨 OS 判定の回避 |
| | 推奨ブラウザ判定の回避 |
Circumvention is possible by specifying in the environment variable:
etax-stealth.jsPLAYWRIGHT_MCP_INIT_SCRIPTbash
PLAYWRIGHT_MCP_INIT_SCRIPT=skills/e-tax/scripts/etax-stealth.js \\
playwright-cli -s=etax open https://www.keisan.nta.go.jp/ --headed --browser=chromeLayer 1: Navigator Property Spoofing (Executed via , before page load)
addInitScript| Property | Spoofed Value |
|---|---|
| |
| Windows Chrome 131 UA |
| Windows Chrome Client Hints |
| |
| Chrome standard plugins |
| |
Layer 2: Patch for Server-Baked Functions (Executed on , after page script)
DOMContentLoaded| Patch Target | Spoofed Value | Purpose |
|---|---|---|
| | Overwrite server-baked value |
| | Circumvent OS version determination |
| | Circumvent recommended OS determination |
| | Circumvent recommended browser determination |
トラブルシューティング: QR コードが表示されない
Troubleshooting: QR Code Not Displayed
CC-AA-440 で QR コードが表示されない場合、 内で が 等を返し、
が になっている可能性がある。
displayQrcode()getClientOS()'Linux'oStUseTypeundefined確認方法: ブラウザコンソールで の戻り値を確認。 でなければパッチが適用されていない。
getClientOS()'Windows'手動対処(Playwright CLI の場合):
bash
playwright-cli -s=etax run-code 'window.getClientOS = function() { return "Windows"; }; displayQrcode();'If QR code is not displayed in CC-AA-440, may return or similar in , making .
getClientOS()'Linux'displayQrcode()oStUseTypeundefinedConfirmation Method: Check return value of in browser console. If not , patch is not applied.
getClientOS()'Windows'Manual Handling (for Playwright CLI):
bash
playwright-cli -s=etax run-code 'window.getClientOS = function() { return "Windows"; }; displayQrcode();'検証済み画面遷移フロー
Verified Screen Transition Flow
CC-AA-010 → CC-AE-090 → CC-AE-600 → CC-AA-024 → CC-AA-440(QR 表示確認済み)
詳細は を参照。
docs/wsl-os-detection-workaround.mdCC-AA-010 → CC-AE-090 → CC-AE-600 → CC-AA-024 → CC-AA-440 (QR display confirmed)
Refer to for details.
docs/wsl-os-detection-workaround.md引継書の出力
Handover Document Output
全ステップ完了後、以下のファイルを Write ツールで出力する。
After all steps are completed, output the following files using Write tool.
ステップ別ファイルの出力
Output Step-by-Step Files
.shinkoku/progress/10-etax.md---
step: 10
skill: e-tax
status: completed
completed_at: "{当日日付 YYYY-MM-DD}"
fiscal_year: {tax_year}
---Output to in the following format:
.shinkoku/progress/10-etax.md---
step: 10
skill: e-tax
status: completed
completed_at: "{Current date YYYY-MM-DD}"
fiscal_year: {tax_year}
---e-Tax 電子申告の結果
Results of e-Tax Electronic Filing
提出方法
Submission Method
- 確定申告書等作成コーナー(Claude in Chrome 入力代行)
- Tax Return Preparation Corner (Claude in Chrome input agency)
税額サマリー
Tax Amount Summary
- 事業所得: {金額}円
- 課税所得: {金額}円
- 所得税額: {金額}円
- 申告納税額: {金額}円({納付/還付})
- 消費税納付額: {金額}円(該当者のみ)
- Business income: {Amount} yen
- Taxable income: {Amount} yen
- Income tax amount: {Amount} yen
- Declared tax payment amount: {Amount} yen ({Payment/Refund})
- Consumption tax payment amount: {Amount} yen (if applicable)
送信結果
Transmission Results
- 受付番号: {受付番号}
- 送信日時: {日時}
- Acceptance number: {Acceptance number}
- Transmission date and time: {Date and time}
次のステップ
Next Step
/submit で提出後のチェックリストを確認する
undefinedCheck post-submission checklist with
/submitundefined進捗サマリーの更新
Update Progress Summary
.shinkoku/progress/progress-summary.md- YAML frontmatter: fiscal_year、last_updated(当日日付)、current_step: e-tax
- テーブル: 全ステップの状態を更新(e-tax を completed に)
Update (create new if it does not exist):
.shinkoku/progress/progress-summary.md- YAML frontmatter: fiscal_year, last_updated (current date), current_step: e-tax
- Table: Update status of all steps (set e-tax to completed)
免責事項
Disclaimer
- 確定申告書等作成コーナーの画面構成・フォーム要素は国税庁の更新により変更される可能性がある
- Claude in Chrome の入力代行はユーザーの目視確認を前提とする — 自動送信は行わない
- マイナンバーカードの操作(電子署名)はユーザーの手動操作が必要
- 最終的な申告内容は税理士等の専門家に確認することを推奨する
- Screen configuration and form elements of the Tax Return Preparation Corner may change due to NTA updates
- Claude in Chrome input agency is based on user visual confirmation — No automatic transmission is performed
- Manual operation by user is required for My Number Card operations (digital signature)
- We recommend having final declaration contents confirmed by a tax professional such as a tax accountant
調査資料
Research Materials
詳細なセレクタ情報・スクリーンショットは ディレクトリを参照:
skills/e-tax/research/- — 画面遷移マップ
00-screen-flow-summary.md - 〜
01— 認証フロー画面05 - 〜
06— 決算書コーナー画面14 - 〜
30— 所得税コーナー画面41 - 〜
50— 消費税コーナー画面(初期調査)55 - 〜
84— 消費税 2割特例(条件判定、売上入力、計算結果)87 - 〜
89— 消費税 簡易課税(条件判定、事業区分、売上入力、控除方式、計算結果)93 - 〜
94— 消費税 一般課税(条件判定、所得区分、売上入力、決算額テーブル、計算結果)98
Refer to directory for detailed selector information and screenshots:
skills/e-tax/research/- — Screen transition map
00-screen-flow-summary.md - ~
01— Authentication flow screens05 - ~
06— Financial Statement Corner screens14 - ~
30— Income Tax Corner screens41 - ~
50— Consumption Tax Corner screens (initial research)55 - ~
84— Consumption Tax 20% Special Provision (condition determination, sales input, calculation results)87 - ~
89— Consumption Tax Simplified Taxation (condition determination, business category, sales input, credit method, calculation results)93 - ~
94— Consumption Tax Standard Taxation (condition determination, income category, sales input, settlement amount table, calculation results) ",98