Skip to content

Case study · Document archive

Matching documents to invoices by content

5,783 files in a cloud archive find their invoice through amount, date, issuer and number instead of the file name.

  • Implemented in the Beyonetix environment
  • Figures from the project log as of 17 September 2026

Starting point

Thousands of files, invoices without a document

The cloud archive of a group of companies held 5,783 files with no matching invoice in the system. Conversely, 2,525 invoices had no document.

File names were of little use for matching. A name says little about what the document contains and rarely carries the supplier's number.

  • 5,783 files without an invoice
  • 2,525 invoices without a document
  • Posted invoices are locked against re-attachment

Approach

Matching by content

01 Read the identity Number, amount, date and issuer are read from every file. A number was found in 55.2 percent of the files, an amount in 69 percent.
02 Match on document content Matching relies on amount, date, issuer and number taken from the document itself.
03 Dry run first Attaching runs as a dry run by default. It is switched live deliberately, and each case is rechecked against live data.
04 Attach Matching documents are attached to the invoice. A file that is already attached elsewhere is skipped.
426 pairs found previously 409 by file name
406 documents attached
98.1% partner name appears in the document

Result

What the data allows

Of 426 pairs found, 406 were attached and 11 rightly skipped because the file was already attached elsewhere. A cross-check on the real documents confirmed the partner name in 98.1 percent and the number read in 97.9 percent.

Only 775 of the 2,525 invoices without a document have a file with the same amount at all, and 1,792 files carry no amount that could be read. That is where the next step starts, reading those files with Documents.

  • Own outgoing invoices carry their number in the document, incoming invoices only amount, date and issuer
  • Corrections run additively, never by re-attaching posted documents

Questions and answers

About document matching

Is the file name not enough for matching?

By file name we found 409 pairs, by document content 426, and the cross-check confirms them. The content is the more reliable source.

Is anything attached without checking?

No. The default is a dry run, and each case is rechecked against live data before writing.

Documents nobody can find any more?

We check how many of your invoices can be matched with confidence through content.