モジュール / ghcr.io / i2y

ritsu-japan-tax

新しい版 1.0.1 があります

Income tax and stamp duty of Japan, as rules of rulec, in English and in Japanese

  • i2y/ritsu の署名を確かめました
  • ダイジェストが一致
  • ritsu check を通ります
  • データ 2 件を SHA-256 で固定
  • 公開 2026-11-05
  • ritsu 0.41.0 以降が要ります
  • ソース

入っているもの

名前説明試す、コードを読む
japan_income_taxThe quick-calculation table of income tax. It multiplies the taxable income by the rate, subtracts the deduction, and adds the special income tax for reconstruction
japan_stamp_dutyThe stamp duty on a contract for the transfer of real estate (a Class 1 document). The table of the reduced rate, in force until 31 March 2027, takes precedence over the table of the main rule
receipt_stamp_dutyThe stamp duty on a receipt for money or securities received for the price of goods sold (a Class 17, item 1 document). Receipts under 50,000 yen and those not related to business are exempt
印紙税不動産の譲渡に関する契約書(第1号文書)の印紙税額。本則の表に、令和9年3月31日までの軽減税率の表が優先する
所得税所得税の速算表。課税される所得金額に税率を掛けて控除額を引き、復興特別所得税を上乗せする
領収書の印紙税売上代金に係る金銭又は有価証券の受取書(第17号の1文書)の印紙税額。5万円未満と、営業に関しないものは非課税

日本の所得税と印紙税を、ritsu のモジュールが使える rulec の規則にしたものです。どの規則にも英語の版と日本語の版があり、二つの答えは同じです。

英語の版日本語の版答えること出典
japan_income_tax.rule所得税.rule課税所得に対する所得税。速算表で計算し、2.1% の上乗せも出す国税庁タックスアンサー No.2260(令和 8 年 4 月 1 日現在法令等)
japan_stamp_duty.rule印紙税.rule不動産の譲渡に関する契約書(第 1 号文書)の印紙税。令和 9 年 3 月 31 日までに作成したものの軽減税率も印紙税法の別表第一と租税特別措置法の第 91 条(2026-04-01 時点、固定あり)
receipt_stamp_duty.rule領収書の印紙税.rule売上代金の受取書(第 17 号の 1 文書)の印紙税国税庁タックスアンサー No.7141(令和 8 年 4 月 1 日現在法令等)

規則は出典を書き写したもので、原文と見比べて読むためのものです。税の助言ではありません。令和 8 年度の税制改正で、所得税の上乗せの内訳は 2027 年分から変わります。規則が読んでいるのは、令和 8 年 4 月 1 日時点のページです。

使い方

モジュールを依存に足し、署名を確かめる行を ritsu.mod に書いて、取ってきます。

$ ritsu mod add japan_tax ghcr.io/i2y/ritsu-japan-tax@1.0.0
signature "ghcr.io/i2y/ritsu-japan-tax" by matching "^https://github[.]com/i2y/ritsu/" issuer "https://token.actions.githubusercontent.com"
$ ritsu mod fetch

あとは、自分の kaname や dandori のコードから読みます。

use rule 印紙税 from "@japan_tax/印紙税.rule"

出典

rulec source outdated <ファイル> で、印紙税の規則が固定している条がその後に改正されたかを e-Gov に問い合わせられます。sources/law/ のコピーの一覧は THIRD_PARTY_NOTICES.md にあります。タックスアンサーを読む規則は、そのページの名前をコメントに書いていて、コピーは持ちません。

規則のファイルは、ritsu と同じく、MIT License か Apache License 2.0 の好きなほうで使えます。

版

法令の変更に合わせる版は、マイナーの版を上げます。ファイルの名前を変える版、ファイルを消す版、規則の入力や出力を変える版は、メジャーの版を上げます。

規則 6 本

ページは、この版のファイルからそれぞれの言語が描きました。

japan_income_tax

japan_income_tax.rule規則

The quick-calculation table of income tax. It multiplies the taxable income by the rate, subtracts the deduction, and adds the special income tax for reconstruction

入力
taxable (1,000〜10,000,000,000 JPY)
出力
tax (-4795950〜4,500,000,000 JPY); surtax (-100714〜94,500,000 JPY)

japan_stamp_duty

japan_stamp_duty.rule規則

The stamp duty on a contract for the transfer of real estate (a Class 1 document). The table of the reduced rate, in force until 31 March 2027, takes precedence over the table of the main rule

入力
amount (0〜1,000,000,000,000 JPY); stated; made (16,161〜22,279)
出力
tax (0〜600,000 JPY)
出典
342AC0000000023(2026-04-01 時点)
出典
332AC0000000026(2026-04-01 時点)

receipt_stamp_duty

receipt_stamp_duty.rule規則

The stamp duty on a receipt for money or securities received for the price of goods sold (a Class 17, item 1 document). Receipts under 50,000 yen and those not related to business are exempt

入力
amount (0〜1,000,000,000,000 JPY); stated; business
出力
tax (0〜200,000 JPY)

印紙税

印紙税.rule規則

不動産の譲渡に関する契約書(第1号文書)の印紙税額。本則の表に、令和9年3月31日までの軽減税率の表が優先する

入力
契約金額 (0〜1,000,000,000,000 円); 金額の記載あり; 作成日 (16,161〜22,279)
出力
印紙税額 (0〜600,000 円)
出典
342AC0000000023(2026-04-01 時点)
出典
332AC0000000026(2026-04-01 時点)

所得税

所得税.rule規則

所得税の速算表。課税される所得金額に税率を掛けて控除額を引き、復興特別所得税を上乗せする

入力
課税所得 (1,000〜10,000,000,000 円)
出力
所得税 (-4795950〜4,500,000,000 円); 復興特別所得税 (-100714〜94,500,000 円)

領収書の印紙税

領収書の印紙税.rule規則

売上代金に係る金銭又は有価証券の受取書(第17号の1文書)の印紙税額。5万円未満と、営業に関しないものは非課税

入力
受取金額 (0〜1,000,000,000,000 円); 金額の記載あり; 営業に関する
出力
印紙税額 (0〜200,000 円)

試す

1.0.0 はこのサイトでいちばん古い版です

新しい版が公開されると、このタブに、どの入力の答えが変わるか、どの日が休みに変わるか、どの日を新しく知るかが出ます。

版 2 個

版公開ダイジェストファイル確かめたこと
1.0.1 最新2026-11-07sha256:f6cd4992c58814ダイジェストと署名、ritsu check を通過
1.0.02026-11-05sha256:f892b7cad7d814ダイジェストと署名、ritsu check を通過

規則

japan_income_tax.rule2,360 バイト
japan_stamp_duty.rule3,213 バイト
receipt_stamp_duty.rule2,564 バイト
印紙税.rule3,436 バイト
所得税.rule2,549 バイト
領収書の印紙税.rule2,980 バイト

データとそのほかのファイル

モジュールについて

README.ja.md2,642 バイト
README.md2,285 バイト
THIRD_PARTY_NOTICES.md2,086 バイト
ritsu.mod449 バイト