Skip to main content

invcheck

Deterministic Arithmetic, Tax & E-Invoice JSON Verifier & Auto-Repair Engine
The missing 0-dependency MIT verification primitive for Docling, MarkItDown, Textract, and VLM Extractors

npm version pypi version license dependencies latency


Why invcheck?

Every modern document extraction pipeline (using IBM Docling, Microsoft MarkItDown, LiteParse, or GPT-4o / Claude Sonnet vision prompts) suffers from a critical flaw: models cannot guarantee exact arithmetic.

  • Line items drift by off-by-one cent rounding errors ($0.01).
  • Subtotals and tax rates hallucinate mismatches.
  • Extracted IBANs, VAT numbers, and EINs contain dropped or transposed characters.

invcheck provides a sub-millisecond, zero-dependency, deterministic financial boundary for your extraction pipeline. Available synchronously in both TypeScript and Python.

Feature invcheck Reducto strutex Manual Regex / Scripts
License MIT (Free forever) Proprietary SaaS ($$$) GPL-3.0 (Viral) Custom
Dependencies 0 (Zero) Heavy API SDK Python dependencies None
Runtime Sub-millisecond Local Cloud API (100-500ms) Local (Python only) Fast
TypeScript + Python Yes (Full parity) Python/REST only Python only Fragmented
EN 16931 Banker's Rounding Yes Cloud blackbox Partial Rarely
Auto-Repair / Healing Mode Yes (Diff + Confidence) Cloud blackbox No No
IBAN / VAT / EIN Checksums Yes (ISO 7064, Mod 89/97) Partial No Fragile

Quickstart

Node.js / TypeScript

Metadata

Release files for invcheck 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for invcheck 0.2.0
File Size Uploaded Provenance Actions
invcheck-0.2.0.tar.gz 22.2 kB Without provenance Details for invcheck-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for invcheck 0.2.0
File Interpreter ABI Platform Actions
invcheck-0.2.0-py3-none-any.whl Python 3 none any Details for invcheck-0.2.0-py3-none-any.whl

Total release size: 46.4 kB

Release files / invcheck-0.2.0.tar.gz

Download URL invcheck-0.2.0.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
64e6ded8ca3ebcfb7c4954573c6c2fa6301381c9656408674c8332d2161dedda
BLAKE2b-256 checksum
How to use checksums
af18cab198c6ef5c2b7984e455af2898d50af8d303afd5fc424ae2566d8a2e60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / invcheck-0.2.0-py3-none-any.whl

Download URL invcheck-0.2.0-py3-none-any.whl
Size 24.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6da38815fc527955bae60f992ee9998922be9010cbdea98848468de6f4edf8db
BLAKE2b-256 checksum
How to use checksums
8145677c49f2b4f3e59695b7e032a963e432bbe01a4f3dc028ef269dedfffb9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for invcheck 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page