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 1.1.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 1.1.0
File Size Uploaded Provenance Actions
invcheck-1.1.0.tar.gz 23.6 kB Without provenance Details for invcheck-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 49.0 kB

Release files / invcheck-1.1.0.tar.gz

Download URL invcheck-1.1.0.tar.gz
Size 23.6 kB
Tags Source
SHA-256 checksum
How to use checksums
94c3a21791c6024c623888c915eadf2834ad4bfd62b88e770de6b0436422c218
BLAKE2b-256 checksum
How to use checksums
944f4e72b02ef3cc507d3b374576f5c16dbb83700b69e8903d75c62225e35120
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

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

Download URL invcheck-1.1.0-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13364a61315a6b8e7b3c4d94a01a5724a0b6be87d07a219d9e43d4e924cb1b2b
BLAKE2b-256 checksum
How to use checksums
0caba9e5d252a5e0ea73f93f8f98397905f6a9c48d184cb1f141cb81d448718c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for invcheck 1.1.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