消費税率(日付指定・軽減税率・改定履歴)
consumption_taxThe consumption tax rate in force on a date, with the national and local parts, and the reduced 8% rate for food and newspapers. Pass amount to have the tax worked out.
Japan changed the rate four times since 1989 (3% → 5% → 8% → 10%), and the reduced rate has existed only since 2019-10-01. A back-dated invoice or a credit note against an old sale is charged at the rate of the original transaction, not today's, so the date matters more often than people expect. Set history to see every change with its statute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD. The rate in force on that day. Defaults to today. | |
| as_of | No | Alias for date. YYYY-MM-DD. | |
| amount | No | Tax-exclusive amount in yen, to compute the tax. | |
| history | No | Return every rate change since 1989 instead of one date. | |
| reduced | No | True for the 8% reduced rate — food and drink excluding alcohol and eating out, and subscribed newspapers issued twice a week or more (平成28年法律第15号). |