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.
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.