Jp Invoice Check — Development skill for Claude Code
Checks a Japanese qualified invoice (適格請求書): the six required items of the National Tax Agency, reduced-rate (8%) marks, totals per rate, and consumption tax rounded once per invoice per rate (flags t.
How to install Jp Invoice Check
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ayatrader/jp-invoice-check and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Jp Invoice Check does
Checks a Japanese qualified invoice (適格請求書): the six required items of the National Tax Agency, reduced-rate (8%) marks, totals per rate, and consumption tax rounded once per invoice per rate (flags the common per-line rounding mistake). Registration number format T + 13 digits and corporate-number
Alternatives in Development
- GenericAgent — Self-evolving agent: grows skill tree from 3.3K-line seed, achieving full system control with 6x less token co 6.1k ★
- Kaizen — Applies continuous improvement methodology with multiple analytical approaches, based on Japanese Kaizen philo 663 ★
- Eval Skill — /eval-skill — Six-Dimension Evaluation 216 ★
README
JP Invoice Check
**An Agent Skill, CLI and MCP server that checks a Japanese qualified invoice (適格請求書): the six required items, reduced-rate marks, totals per rate, and the rule that consumption tax is rounded once per invoice per rate.**
Japan's invoice system requires six items on every qualified invoice, and the tax must be rounded once per invoice for each rate, not line by line ([NTA pamphlet](https://www.nta.go.jp/publication/pamph/shohi/shohizei_11.pdf): 「端数処理は一請求書当たり、税率ごとに1回ずつ」). A language model that writes an invoice tends to compute tax per line and add it up. On the example below that gives 597 yen instead of 599 for the 10% items and 285 instead of 286 for the 8% items.
This package computes instead of guessing:
- checks the six items and returns each as true/false (
required_items) - recomputes tax per rate for floor, half-up and ceil rounding (the method is the issuer's choice) and tells you which one the invoice used
- names the per-line rounding mistake (
E_TAX_LINE_ROUNDING) separately from other wrong tax - flags 8% items without a reduced-rate mark, and reduced marks on 10% items
- normalizes the registration number (full-width, hyphens) and checks
T+ 13 digits and the corporate-number check digit - reads ISO dates,
2026年10月28日,令和8年10月28日, and periods
Every message comes in English and Japanese. Python standard library only. No network. MIT.
Use as an Agent Skill
Copy this folder into your skills folder (for Claude: `~/.claude/skills/jp-invoice-check/`). `SKILL.md` tells the agent to put the invoice into JSON and run the checker instead of computing tax itself.
CLI
python -m jpinvoice examples/ok.json # exit 0
python -m jpinvoice examples/line_rounding_mistake.json # exit 1, lists the errors
python -m jpinvoice invoice.json --rounding floor # require one rounding method
from jpinvoice import check_invoice, expected_t
Related Skills
Ksef
Claude Code skill: build KSeF API 2.0 integrations (Krajowy System e-Faktur, Poland's national e-invoicing) —
Sap Korean Tax Invoice Debug
한국 전자세금계산서(e-Tax Invoice) 연동 오류 체계적 진단. SAP DRC / 이카운트 / 비즈플레이 / SmartBill / 더존 통합 시나리오. STRUST 공인인증서, 국세청 API
Invoice Organizer
Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key infor
Iran Tax MCP
Unofficial read-only MCP server for Iranian tax services: e-invoice goods IDs and VAT, activity codes, propert
Ip As Logo Skill
A compact Agent Skill for highly simplified, rounded, subtly neo-skeuomorphic IP mascot logos.
Agent Session Status
Live OpenCode, Claude Code, and Codex session state for Ironbar and Waybar. Provider events are reduced to a s
Related Agents
Finance F1 Supplier Intake
Finance F1 - supplier invoice intake. Owns the intake mailboxes; validates each extracted invoice, dedupes acr
Tax Indirect Engineer
Implements sales tax, VAT, and GST calculation - taxability, stacked rates, inclusive/exclusive pricing, disco
Error Budget Tracker
Use to compute SLO error budget consumption and burn rate. Reads SLO definitions and recent error/availability