Product 6 min read Bruno Cavalcanti, CTO

Between Upload and Approval: Inside a Loadpass Review

The path from a raw PDF to a bank-ready packet has six stages. Here is what each one does, where confidence scoring enters, and why a person still gets called for some fields.

Upload a raw PDF to Loadpass and nothing pays out. The file goes into an isolated processing session, gets a format check, and is identified by document type before any field is read. From there it moves through extraction, comparison, confidence scoring and review, and comes out as a verification result someone can trace back through.

I built these processing systems with one practical goal: every stage should be legible to an import operations team or a bank trade-finance officer. That means knowing not just whether something was flagged, but which source field was read, how certain the read was, which rule fired, and whether a human touched an uncertain result.

1. The file arrives and is checked

The platform accepts invoices, bills of lading, packing lists, letters of credit, certificates of origin and customs declarations. At upload it confirms the file can be processed and attaches it to the relevant trade session. Each session is isolated, so one transaction's documents never bleed into another's working context.

The first output is a processing record: document type, session, format-check status. If a file cannot be read or falls outside the accepted categories, the process should stop there instead of generating a verification result that looks meaningful and isn't.

That separation carries over into data handling. Loadpass does not use customer documents to train AI models. A document is processed for its transaction, and the results stay with that transaction's audit trail.

2. Reading text and pulling fields

Once the format check passes, the OCR pipeline locates text and identifies the fields a trade review needs. An invoice might yield invoice number, seller, buyer, consignee, currency, amount and shipment references. A bill of lading might yield shipper, consignee, notify party, port details, container references and dates.

At this point the system is not judging compliance. It is producing structured values and remembering where each one came from. The distinction is easy to blur. Reading "USD 48,500" off an invoice is extraction. Deciding whether USD 48,500 fits inside the amount allowed by the letter of credit is a comparison that happens later.

Layout makes this stage harder than it looks. Tables, stamps, handwritten amendments, weak scans and text layered over a background image all degrade extraction. Some PDFs carry a clean text layer; others are photographs in practice. A multi-page packing list with repeated headers can leave it genuinely unclear which line belongs to which item.

Because of that, the pipeline does not pretend every value is equally trustworthy. Each field carries a confidence level forward based on how clearly it was read.

3. Comparing fields against the trade terms

After extraction, the system compares document fields with the applicable letter of credit terms and the platform's trade rule library. The comparison happens field by field, not by scoring a whole document as one pass or fail object.

An invoice might name the consignee as "Atlantic Imports Ltd." and the bill of lading as "Atlantic Importers Ltd." If the applicable terms require that name to match, the platform flags that field and records the rule it applied. The same method covers amounts, currencies, dates, shipment references, ports and other fields the transaction requirements touch.

The output at this stage is a set of comparisons, each of which can show a match, a clear discrepancy, or a value that needs a closer look because extraction is uncertain. Source values travel with each comparison, so an operator can inspect the actual difference rather than read a generic alert.

In the importer interface, flags sit against the fields they concern. A useful flag answers three questions on sight: which document and field triggered it, what value was found, and which requirement went unmet.

4. Where confidence scoring enters

Confidence is calculated per field as the verification pipeline runs. It expresses how sure the system is that it read a particular value correctly. A cleanly printed invoice number in a stable position tends to score high. A consignee name half-covered by a stamp tends to score low.

Confidence is not a verdict. It measures how well the value was read; compliance verification measures whether that value meets the requirement. A field can be read perfectly and still fail a rule. A field can appear to match and carry so little extraction certainty that nobody should rely on the match yet.

Keeping those two ideas apart avoids a familiar automation mistake: treating "the system read this clearly" as "the transaction complies." The confidence result stays attached to the field and shapes what the pipeline does next.

  • High-confidence extraction: the value is clear enough for the comparison result to move forward without a manual check, subject to the rule in play.
  • Low-confidence extraction: the field goes to a human review queue instead of being quietly accepted or rejected.
  • Clear rule discrepancy: the field is flagged with the compared values and a specific rule citation.

In early-access pilots this structure has proven useful for a simple reason: operations teams can aim their attention at uncertain or discrepant fields rather than rereading every page of every document.

5. A person looks at what is uncertain

Fields below the confidence threshold are routed to a human reviewer. The reviewer is not asked to redo the whole document process. The queue hands over the source document, the extracted value, the related comparison and the reason the field came up.

The reviewer can confirm the value, correct it, or decide the source is too ambiguous to verify at all. Whatever they choose becomes part of the transaction record. If a correction changes a comparison, the field status and the discrepancy record update with it.

Documents that OCR handles badly make this step essential. Skewed pages in a scanned credit, a faded stamp on a bill of lading, handwritten corrections on a certificate: each may need a person to interpret context that extraction cannot reliably distinguish.

Human review is a check on false certainty. Clear fields keep the speed of machine processing, while ambiguous ones go to someone who can read the original. The pipeline does not stand in for the bank examiner's final judgment. It organizes the evidence and makes the uncertain parts explicit before the bank sees the result.

6. The packet the bank receives

When the document set has been processed and any needed review is done, Loadpass assembles a structured output packet. It holds the document results, extracted fields, comparison outcomes, discrepancy explanations, confidence information and review actions. The point is to show the path to the final status, not only the status.

For the importer, the interface shows field-level flags and the supporting detail needed to fix an issue. For the connected bank, the platform can produce a structured PDF summary or an API webhook. Once documents are verified, the bank receives a structured payment instruction with an audit trail in place of an unstructured pile of attachments.

That structure never displaces the bank's own controls. It gives the bank a consistent packet to review, with values and rule references in a form that can be checked against internal procedures. The importer gets a clearer record of what has to be corrected before a payment instruction moves.

For a small team building document-heavy financial workflows, traceability beats the illusion of a single automated decision. A review system worth using keeps the source document, extracted field, confidence level, comparison rule, reviewer action and final output tied together.

Explore how the Loadpass verification pipeline connects to your bank.

The practical outcome is easy to state. The importer can see which fields need action, and the bank gets a documented payment instruction with the evidence and review history its own decision requires.

← The Manifest