AIToday
AI Safety & AlignmentAI Coding AssistantsZenn AI/MLPublished: Nov 11, 2026, 10:01 JST

JP Invoice Check 0.2.0 moves tax-invoice inspection beyond AI's reach

Send on LINE
JP Invoice Check 0.2.0 moves tax-invoice inspection beyond AI's reach

3 Key Points

  1. What happened

    JP Invoice Check 0.2.0, published after a Qiita reader's critique, now loads company rounding rules only at human launch, ignores invoice-embedded instructions, and attaches a sha256 code fingerprint to results.

  2. Why it matters

    If an AI agent can rewrite the checker or its rounding settings, the inspection becomes a formality — the update aims to keep verification independent of the agent it polices.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

By signing up you agree to the Terms of Service and Privacy Policy.

Context & Analysis

A concrete error is the starting point: when an AI agent builds an invoice, it may round consumption tax per line item and then sum the results. Under Japan's invoice system, rounding is supposed to happen once per tax rate per invoice, so the line-by-line approach produces a small discrepancy. JP Invoice Check was built to catch that kind of mistake.

The 0.2.0 update responds to a reader critique on Qiita. The developer compares the fix to factory inspection: if the production line can change the inspection standard, the check is only for show. So the tool now reads company rules only when a person launches it, ignores instructions embedded in the invoice itself, and stamps results with a sha256 fingerprint of the checking code.

Each company should also write down its rounding method and price basis in a one-line policy. For invoices the company issues, any deviation from that policy is an error; for invoices received, a different method is a warning that explains the gap, such as the counterparty using rounding up and coming out +1 yen above the company's rule. The tool uses only the standard library, makes no external calls, and is MIT-licensed.

FAQ
What rounding rule does the tool assume?
It expects rounding once per tax rate per invoice, as Japan's invoice system requires. It also supports a company policy that specifies rounding method and whether prices are tax-exclusive or tax-inclusive.
How is the tool installed and run?
It is installed with pip from a GitHub URL and run as an MCP server. A config points to a company policy file outside the AI's working folder.
Does the tool verify invoice registration numbers?
No. It does not check whether a registration number is still valid; confirm that on the National Tax Agency's public site.
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

By signing up you agree to the Terms of Service and Privacy Policy.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Related Articles

Next articleRaso: AI bubble talk is an echo chamber, Anthropic math says otherwise