Japan Invoice

•

Calculate consumption tax, compute withholding tax, and validate Japanese qualified invoice registration numbers entirely offline.

Japan Invoice provides deterministic calculations and validation for Japan's qualified invoice system (インボイス制度) directly within AI agent workflows. Operating purely offline without network requests or API keys, it verifies corporate and registration numbers using official check-digit algorithms, computes consumption tax rounded strictly once per tax rate using whole-yen arithmetic, calculates withholding tax and gross-ups, and checks documents for mandatory invoice fields. It prevents frequent LLM accounting errors—such as improper per-line rounding or floating-point discrepancies—ensuring compliant Japanese financial calculations.

主な機能

01Individual withholding tax calculation and net payment gross-up calculations (手取りから逆算)
02Purely offline operation with whole-yen integer arithmetic requiring zero network requests or API keys
030 GitHub stars
04Registration and corporate number validation using official check-digit verification and formatting normalization
05Compliant consumption tax calculation rounded once per rate (10%, 8% reduced, 0%) with per-line rounding warnings
06Document inspection checking for mandatory qualified invoice items (適格請求書 / 適格簡易請求書の記載事項)

ユースケース

01Validating Japanese vendor invoice registration numbers and links to the official publication registry
02Automating fee and tax breakdowns for contractor and freelancer payments subject to withholding tax
03Auditing invoice draft line items and totals against legal rounding and disclosure rules