Modules / ghcr.io / i2y

ritsu-japan-tax

A newer version, 1.0.1, is out

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

  • Signed by i2y/ritsu
  • Digests match
  • Passes ritsu check
  • 2 data sources pinned by SHA-256
  • Published 2026-11-05
  • Needs ritsu 0.41.0 or later
  • Source

What it holds

NameWhat it isTry it, or read its code
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万円未満と、営業に関しないものは非課税

Income tax and stamp duty of Japan, as rules of rulec, for a module of ritsu to use. Each rule is here in English and in Japanese, and the two give the same answers.

In EnglishIn JapaneseWhat it answersSource
japan_income_tax.rule所得税.ruleThe income tax on a taxable income, from the quick-calculation table, with the 2.1% surtaxNational Tax Agency, Tax Answer No. 2260, as of 1 April 2026
japan_stamp_duty.rule印紙税.ruleThe stamp duty on a contract for the transfer of real estate (a Class 1 document), with the reduced rate of contracts made by 31 March 2027Appended Table 1 of the Stamp Tax Act and Article 91 of the Act on Special Measures Concerning Taxation, as of 1 April 2026, pinned
receipt_stamp_duty.rule領収書の印紙税.ruleThe stamp duty on a receipt for the price of goods sold (a Class 17, item 1 document)National Tax Agency, Tax Answer No. 7141, as of 1 April 2026

The rules transcribe their sources, to be read against them. They are not tax advice. The tax reform of fiscal 2026 changes how the income tax's surtax is made up from 2027: the rule reads the page as it stood on 1 April 2026.

Use

Add the module, add the line that checks its signature to your ritsu.mod, and fetch it:

$ 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

Then read it from your own code of kaname or dandori:

use rule stamp_duty from "@japan_tax/japan_stamp_duty.rule"

Sources

rulec source outdated <file> asks e-Gov whether a later amendment touched an article the stamp duty's rule pins. THIRD_PARTY_NOTICES.md lists the copies under sources/law/. The rules that read the Tax Answer pages name them in a comment, and carry no copy.

The rules are under the MIT License or the Apache License, version 2.0, at your option, as ritsu is.

Versions

A version that follows a change in the law raises the minor version. A version that renames a file or removes one, or changes the inputs or outputs of a rule, raises the major version.

6 rules

Each page is drawn by its language from the file at this version.

japan_income_tax

japan_income_tax.rulerule

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

Inputs
taxable (1,000 to 10,000,000,000 JPY)
Outputs
tax (-4795950 to 4,500,000,000 JPY); surtax (-100714 to 94,500,000 JPY)

japan_stamp_duty

japan_stamp_duty.rulerule

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

Inputs
amount (0 to 1,000,000,000,000 JPY); stated; made (16,161 to 22,279)
Outputs
tax (0 to 600,000 JPY)
Source
342AC0000000023, as of 2026-04-01
Source
332AC0000000026, as of 2026-04-01

receipt_stamp_duty

receipt_stamp_duty.rulerule

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

Inputs
amount (0 to 1,000,000,000,000 JPY); stated; business
Outputs
tax (0 to 200,000 JPY)

印紙税

印紙税.rulerule

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

Inputs
契約金額 (0 to 1,000,000,000,000 円); 金額の記載あり; 作成日 (16,161 to 22,279)
Outputs
印紙税額 (0 to 600,000 円)
Source
342AC0000000023, as of 2026-04-01
Source
332AC0000000026, as of 2026-04-01

所得税

所得税.rulerule

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

Inputs
課税所得 (1,000 to 10,000,000,000 円)
Outputs
所得税 (-4795950 to 4,500,000,000 円); 復興特別所得税 (-100714 to 94,500,000 円)

領収書の印紙税

領収書の印紙税.rulerule

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

Inputs
受取金額 (0 to 1,000,000,000,000 円); 金額の記載あり; 営業に関する
Outputs
印紙税額 (0 to 200,000 円)

Try

1.0.0 is the oldest version here

When a new version is published, this tab says which inputs get a different answer, which days become closed or open, and which days the calendar newly knows.

2 versions

VersionPublishedDigestFilesChecked
1.0.1 latest2026-11-07sha256:f6cd4992c58814its digests and its signature; passes ritsu check
1.0.02026-11-05sha256:f892b7cad7d814its digests and its signature; passes ritsu check

Rules

Data and other files

About the module