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
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.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| invcheck-1.0.0.tar.gz | 9.9 kB | Without provenance | Details for invcheck-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| invcheck-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for invcheck-1.0.0-py3-none-any.whl |
Total release size: 22.8 kB
Release files / invcheck-1.0.0.tar.gz
| Download URL | invcheck-1.0.0.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e71280f5ff9efd49ebfaa273bc8d84e8414700859d68c07aec45b5b06acc715a
|
|
BLAKE2b-256 checksum How to use checksums |
99292639222605014098cbcfa29807bd4aec27a6cf1ccad614464f45d5153106
|
| 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.0.0-py3-none-any.whl
| Download URL | invcheck-1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4a2eafc1c33de0b761b4be3ace0e4b8f791a8c2c0ec9c20a8462baf2e5fb11c
|
|
BLAKE2b-256 checksum How to use checksums |
8456fa0b5f10ee7323db757a5abbea23c6f6efcccfdd609c03845e94cccd126d
|
| 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.0.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.