reviewed/72b84c85e9914d6f
60 行 · 3,031 バイト
rule japan_liquor_tax v1
description "The liquor tax of Japan per kilolitre on sparkling and brewed liquors shipped from 1 October 2026, and what that comes to on a 350 ml can. Transcribed from Article 23 of the Liquor Tax Act"
# The reform of 2017 brings beer and the drinks like it to one rate in three steps, on 1 October of
# 2020, 2023 and 2026. Each version of this module holds one step, so `ritsu mod diff` between two
# versions says what a step moved.
source act = law "328AC0000000006" asof 2026-10-01
第23条 sha256:88a2912f1a088e3e
# Beer, happoshu and what the shops call the new genre, happoshu since the step before this one, come
# to one rate here. The words stay, so that what a caller passes keeps its meaning from one version to
# the next. `other_sparkling` is any other sparkling liquor below 11 degrees of alcohol, chuhai among
# it.
enum liquor_kind = beer | happoshu_malt_25_to_50 | happoshu_malt_under_25 | new_genre | other_sparkling | sake | fruit_wine | other_brewed
inputs
kind : liquor_kind
# The law states a rate per kilolitre. What is owed is worked out on all that is shipped in a month,
# not can by can: `per_350ml` is how the rate is usually quoted, in sen, the hundredth of a yen.
outputs
per_kilolitre : money[JPY] round down(1JPY)
per_350ml : money[銭] round down(1銭)
table rates @act 第23条
policy unique
| kind | -> per_kilolitre : money[JPY] |
| beer | 155000JPY |
| happoshu_malt_25_to_50 | 155000JPY |
| happoshu_malt_under_25 | 155000JPY |
| new_genre | 155000JPY |
| other_sparkling | 100000JPY |
| sake | 100000JPY |
| fruit_wine | 100000JPY |
| other_brewed | 100000JPY |
# Each rate times 0.35 litres over a thousand, half up at a sen: 134,250 yen comes to 46.9875 yen,
# written 4699銭. The law does not state these.
table on_a_can
policy unique
| kind | -> per_350ml : money[銭] |
| beer | 5425銭 |
| happoshu_malt_25_to_50 | 5425銭 |
| happoshu_malt_under_25 | 5425銭 |
| new_genre | 5425銭 |
| other_sparkling | 3500銭 |
| sake | 3500銭 |
| fruit_wine | 3500銭 |
| other_brewed | 3500銭 |
examples
| kind | -> per_kilolitre | per_350ml |
| beer | 155000JPY | 5425銭 |
| happoshu_malt_25_to_50 | 155000JPY | 5425銭 |
| happoshu_malt_under_25 | 155000JPY | 5425銭 |
| new_genre | 155000JPY | 5425銭 |
| other_sparkling | 100000JPY | 3500銭 |
| sake | 100000JPY | 3500銭 |
| fruit_wine | 100000JPY | 3500銭 |
| other_brewed | 100000JPY | 3500銭 |