Skip to main content
Glama

Kitbench

Japanese Consumption Tax Calculator

consumption_tax
Read-onlyIdempotent

Calculate Japanese consumption tax with exact integer arithmetic: tax-excluded to tax-included or tax-included to tax-excluded, at 10% (standard), 8% (reduced) or any rate from 0 to 100 with up to 2 decimals, rounding down (floor, default), half up (round) or up (ceil). Returns the tax amount, both prices and the formula. Amounts are whole yen up to 13 digits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rateNoTax rate in percent. Default 10. 8 for the reduced rate (food, newspapers).
amountYesAmount in yen (whole number, up to 13 digits).
roundingNoHow to round fractions of a yen in the tax. Default "floor" (most common in Japan).
amount_typeNoIs amount tax-excluded (default; adds tax) or tax-included (extracts tax)?

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources