AI document completeness checks: what is missing and what a person must review
AI can help locate documents in a folder or email and extract their fields. Completeness still comes from workflow rules: which documents are required, which order they belong to and what happens when something is uncertain. A useful result lists missing items and reasons for human review. Having every file does not establish that a transaction, signature or payment is valid.
Define the package for one workflow
Start with one submission type, such as documents accompanying a delivery. Staff need to know what is expected at this particular stage. A single checklist for goods, services and returns quickly creates false omissions and unnecessary requests.
- Required items
- Record document types and the conditions that make them mandatory. The teaching example requires an invoice and delivery note for goods, and an invoice and acceptance act for services. These are fictional workflow rules, not universal accounting requirements.
- Unit of review
- Check one order package with a known identifier. Split an email covering several orders first. Otherwise a document for a neighboring order may incorrectly satisfy a missing requirement.
- Rule version
- Keep the checklist date and owner. An older package should show which rules produced its result. Changing a template must not silently rewrite the history of completed checks.
The first useful output is a table of required item, matched document, uncertainty reason and responsible person. It gives the reviewer a concrete next step.
Separate extraction from rule checking
The system receives files, classifies them, extracts fields, matches documents to an order and checks required items. Failure in an early stage must not become a confident statement that the package is complete.
- Intake and tracking
- Assign each file an identifier, original name and package reference. A repeated attachment does not count as a second required document. Track replacements and versions separately.
- Extraction
- OCR or a model may propose the document type and field values. Keep the source page and location for each value. Microsoft describes text, structure and document fields in analysis results [S1]. Available output depends on the model and format.
- Structure validation
- A formal schema checks field presence and types. JSON Schema makes a property mandatory through required [S2]. Passing that check does not prove that an extracted number matches the original scan.
- Workflow rules
- A separate step compares the order identifier, supplier and required types. It returns reasons with file IDs instead of just a colored status card.
Do not combine extraction confidence with a completeness decision. A readable document can belong to the wrong order, while a full set of poor scans still needs review.
Return three understandable outcomes
An explained status is more useful than a generic readiness percentage. Three outcomes with separate reasons are enough for a first phase. Keep unknown values explicitly unknown.
- Ready for human review
- Required types were found, checked identifiers match and no known uncertainty remains. This status permits the next manual review. It does not authorize payment or signing.
- Incomplete
- A specific required item is missing. Show its name and the files already found. Staff decide whether it is truly absent or arrived through another channel.
- Review required
- There is uncertain extraction, an unknown type, a duplicate or mismatched identifiers. Show the reason and source file. Do not request another document from a customer until someone has checked the existing one.
Define precedence in advance. The example gives uncertainty priority over incomplete status, but still retains the missing-items list. One warning therefore does not hide another.
Check the rules against eight fictional packages
The download contains a local Python 3 program. It reads manually prepared structured metadata, rules and a separate expected result keyed by ID. There is no OCR, language model, network access or real document processing. It demonstrates rule checking after extraction only.
- Dataset
- Eight packages: two complete, two with missing items and four requiring review. Reasons include a different order number, uncertain extraction, a duplicate document and an unknown type.
- Reproducible output
- Two packages return ready_for_review, two incomplete and four review_required. The program prints reasons and missing types for each ID, then compares them with an independently specified expected result.
- Sensitivity check
- In package P01, replace one document’s orderId with OTHER. The next run must fail with RECONCILIATION_FAILED because the formerly complete package no longer passes. Restore the original value before repeating the baseline run.
- Evidence boundary
- Matching eight expected results establishes how this small program behaves on these inputs. It does not measure extraction accuracy or validate a future production implementation.
Download the archive and run python3 run.py in the extracted folder. Run the unchanged dataset twice, then change one condition. All inputs are available for inspection.
Keep substantive review with a person
Completeness checks can reduce attachment sorting and obvious omission searches. A responsible employee retains decisions about substance and exceptions. Agree the boundary of automated actions before integration.
- Substance and authority
- A file’s presence does not establish contract terms, a signatory’s authority, signature authenticity or consistency with other documents. Those need separate review by a competent person.
- Exceptions
- Record when a document is optional, replaceable or allowed to arrive later. An exception needs a basis and decision owner, otherwise staff will bypass the rules informally.
- Requesting missing items
- Initially the system prepares a list for a reviewer. Connect external messages or payment status changes only after quality has been checked and that action has been separately agreed.
- Access and retention
- Restrict access to source files and results. Use authorized, de-identified documents for a pilot. A fictional example is sufficient for the initial discussion.
When a document cannot be read, say “could not verify” rather than “document absent”. This reduces unnecessary requests to customers.
Accept the pilot using a held-out dataset
Prepare packages with known outcomes that are not used to tune the implementation. Evaluate stages separately. An overall correct-status rate can hide costly errors.
- Falsely complete packages
- Count packages marked ready despite a missing required item or mismatched identifiers. Retain the cause and decision for each. Agree an acceptable limit with the workflow owner.
- Unnecessary manual work
- Count complete packages sent for review without a valid reason and measure reviewer time. Compare equivalent package types before and after, including corrections and re-uploads.
- Traceability
- Each result should expose source IDs, extracted values, reasons, rule version and manual corrections. Re-uploading the same package must not create a second independent workflow.
- Failure handling
- Check a damaged file, unavailable extraction service, unknown type and document replacement. The package stays visible to its owner, and an unverified result does not trigger the next action.
The synthetic archive does not replace this pilot. It helps agree the logic and expected outcomes before transferring operational documents.
Start with one package and one decision
The initial discussion is free. A full audit, pilot, implementation and support have separately agreed scope and price. Start by describing one workflow and the output staff need.
- Inputs for the discussion
- Name the package type, required items, approximate workload, storage location and current response to omissions. Do not send passwords, personal data or operational attachments through the form.
- A bounded first phase
- One package type, one rule set and one report for a named reviewer. First check whether sorting work falls without falsely complete packages. Then decide whether integration is needed.
- Handover
- Provide the rule version, labeled dataset, acceptance results, access permissions, exception instructions and template-change procedure. This supports checks after documents or models change.
Readiness means staff can see what is missing, where uncertainty remains and which decision stays with them. A polished status card alone is not enough.
Review one document package
Describe the package, required items and the reviewer’s next action. A fictional example is enough for an initial discussion. Agree the transfer of operational documents separately.
Official sources
Checked 16 November 2026. The synthetic packages and rules were prepared for this guide.