Cascade Extraction: Deterministic Invoice Intake from First Scan to Field Guarantee
Today, Helpifyr's document pipeline crossed a threshold: supplier invoices can now be ingested, parsed, and enriched with deterministic, provenance-tracked field extraction-across diverse layouts and tax regimes. This is not just a smarter OCR, but a system-wide architectural shift that guarantees every extracted value is explainable, reproducible, and anchored to its source.

En un coup d’œil
9
modifications intégrées
3
projets de code concernés
Le plus de modifications dans
- jhf-loom7
- jhf-web1
- jhf-spindle1
Cet article est en anglais. Les termes soulignés sont expliqués : survolez-les ou touchez-les.
Picture a supplier invoice arriving by email: its layout is unfamiliar, its tax details buried among multilingual clutter, and the key fields-amount, invoice number, supplier address-are scattered and ambiguous. Historically, extracting this data required hand-tuned rules or brittle templates, with errors surfacing only after downstream processing. Today, that uncertainty ends. With a new cascade extraction engine, every field is captured through a deterministic, explainable chain-no matter the supplier, format, or country.
01Pourquoi c’est important
Why This Day Mattered
Operators and integrators can now onboard new suppliers and invoice formats without custom scripting or manual verification cycles. Developers gain a true contract: every extracted field is not just a best guess but comes with traceable, explainable provenance, making downstream automation and auditing reliable. For users, this means faster, error-free intake-no more waiting for a human to disambiguate fields or correct tax calculations.
The closed UTC day 2026-08-05 resolved into 9 merged PRs across 3 repos, led by jhf-loom (7), jhf-web (1), jhf-spindle (1).
02Ce qui a changé
What Actually Changed
The document pipeline now routes every invoice through a swappable OCR engine and a deterministic extraction cascade. This cascade applies a sequence of spatial, anchor-based, and exclusion-list extraction passes, layering heuristics and evidence trails for each field. Tax and net/gross relationships are derived with fail-closed logic, ensuring that missing or ambiguous data never silently propagates. The intake deduplication logic now scopes by document class, preventing cross-type collisions. Each extraction step is explainable and reproducible, with unified label assignment strategies and supplier-specific handling baked in.
03Pourquoi c’est plus solide
Why It Holds Better Now
By grounding every field extraction in deterministic rules and explicit provenance, the system eliminates guesswork and silent failure modes. The multi-level cascade means new suppliers or layouts can be supported by adding or tuning extraction passes, not by rewriting brittle templates. Fail-closed tax derivation blocks partial or invalid data from entering the system, while the deduplication scoping prevents misclassification across document types. The unified evidence chain ensures that every value, from invoice number to tax rate, can be traced to its source-enabling confident automation and rapid onboarding.
04Pour aller plus loin
Want to Know More?
How will this deterministic extraction pipeline enable real-time feedback and correction for users uploading new document types, and what new automation possibilities does it unlock for downstream finance workflows?
Termes de cet article
- fail-closed
- Bloquer en cas de doute : sans preuve, l’action n’est pas exécutée.
- provenance
- Preuve d’origine : d’où provient une information ou un artefact.
- PR
- Pull request : une modification de code relue puis intégrée au projet.
- repo
- Dépôt : un projet de code sous gestion de versions.
- operator
- La personne ou l’équipe qui exploite le système.
À quoi cela ressemblerait-il dans votre entreprise ?
Un pilote le montre sur un processus réel.
Plus sur Données et logique métier
Tout voir
Données et logique métier2 min
Automatic Invoice Field Extraction: Supplier Intake Meets Real-Time Enrichment
Today, invoice intake on the Helpifyr / JaddaHelpifyr stack gained a new edge: invoices entering via supplier intake are now automatically enriched with structured data through live field extraction, closing the loop between document arrival and actionable, queryable records.
Lire
Données et logique métier2 min
Settling for Certainty: Reference Pinning Ends Phantom State in Decision Flows
A new reference pinning mechanism now guarantees that settlement decisions in flight cannot be lost or misapplied, eliminating phantom or orphaned states and making every decision traceable and replay-safe, even across restarts.
Lire
Données et logique métier2 min
No More Phantom Settlements: Reference Pinning Secures In-Flight Decisions
Today's engineering work closes a subtle but critical loophole in the Helpifyr / JaddaHelpifyr stack: settlement decisions in progress can now survive service crashes and restarts without risk of double-processing or data drift. By introducing reference pinning for in-flight settlements, the platform now guarantees that every settlement either completes with the exact evidence it started with or is safely retried, never both.
Lire