trike_dev
← All articles

What should read your wholesale orders: an Excel parser or document AI?

Evaluate order capture with email, PDF and spreadsheet inputs. Count missing lines and review effort as well as recognised fields.

Trike and Rex verify shipping documents

A specification lists a pressure sensor with “quantity to be confirmed.” In the accompanying spreadsheet the quantity cell is empty. A buyer sees one unresolved line. An import that defaults the quantity to one, or drops the incomplete line, creates a wrong order. It is a useful boundary case when evaluating document tools.

A test you can reproduce with two files

We used the fictional specification from the trike_dev demo. It requests three AX-132M-4 motors, two PMP-40-160 pumps and a PTX-16-G14 sensor with no confirmed quantity. The PDF also sets a 45-day delivery limit and requires buyer approval for alternatives. It contains embedded text. The Excel workbook contains one simple sheet. Sample PDF, in Russian · Sample workbook

We read the sheet with openpyxl 3.1.5 and extracted the PDF text with pypdf 6.21.4. The sheet returned all three part numbers, quantities three and two, and the empty quantity on the third line. The PDF yielded all three part numbers, both stated quantities, the instruction to clarify the third, and the note about substitutions. A straightforward reader recovered the source content. Converting that text into order fields and preserving the order-wide approval condition remain separate jobs.

Where cloud extraction enters the shortlist

If most buyers submit a standard workbook, first try reading the cells directly. Repeat the test with the order on sheet two and a company banner above the column headers. That exposes assumptions hidden by a tidy sample.

Amazon Textract Core accepts PDF, JPEG, PNG and TIFF and can extract tables. An implementation still needs a path for workbooks and message bodies. Microsoft Document Intelligence Read supports embedded text in XLSX. Specify the exact model, version and document languages when comparing vendors. Capabilities differ within a product family. Amazon Textract file limits · Microsoft Read model

Compare the order that reaches the rep

Attach both files to a test email and add “Make the sensors four. Leave out the motors for now.” The draft should contain two pumps and four sensors. Sending two versions of the specification should never double the quantities. Repeat with an image-only scan. Count missing lines, extra lines, wrong units and minutes to a usable draft.

We did not run these files against the cloud services or rank their accuracy. The local result provides a baseline. Price cloud recognition against the scans and exceptions that actually require it, and include the rep’s correction time in that comparison.