PoGuard
Tooling

Comparing two PO PDFs

Why the diff tool you already own gives you nothing useful here, and what the job actually requires.

The instinct is reasonable. You have two PDFs, you want the differences, and your computer has a compare function. So you point Acrobat's Compare Files at a quotation and a purchase order, and it returns a document where essentially everything is highlighted.

Why that happens

PDF comparison tools are built for two revisions of the same document. Contract v3 against contract v4. They align the text, find the inserted and deleted runs, and show you the delta. That works beautifully when ninety-five per cent of the words are identical and in the same order.

A quotation and a purchase order have almost no words in common.

A text diff reports all of that as change, because all of it is change. The two differences that matter — 1,250 against 1,190, and Net 30 against Net 90 — are two short strings in a page of red.

What the job actually needs

Not a text comparison. A field comparison. Something that works out that your "Part No." column and their "Material code" column are the same idea, pairs VPW-4412 on your line 1 with VPW-4412 on their line 1 regardless of where either sits on the page, and then compares rate against rate.

And for the terms, something closer to reading than matching. Net 30 days from date of invoice and payment within thirty days of invoice are the same obligation in different words — no difference at all, and a string comparison will call it one. 30 days from invoice and 30 days from GRN share almost every word and are weeks apart in reality.

Scans, photos and the no-text-layer problem

A fair share of POs arrive as a scan, or as a photograph somebody took of a printout on a desk. There is no text in those files at all — just pixels. Every text-based tool has nothing to work with, which is why "convert to Word first" is usually where this attempt dies.

What works is reading the rendered page rather than its text layer. A clean PDF, a 200 dpi scan and a slightly skewed phone photo are then all the same kind of problem. Keep the image sharp enough that you yourself can read the rate, and it will manage.

What we do instead

  1. Read both documents whole, text layer or rendered page, and pull out a structured set of fields: numbers, dates, parties, currency, every line item, every commercial clause quoted verbatim.
  2. Pair the line items — part number first, then description, then position, with the confidence recorded. Where a pair was a guess, the result says so instead of hiding it.
  3. Do the arithmetic in plain code. Every subtraction, percentage and total in the result is computed, not generated. Nothing can quietly invent a figure that is not printed on one of your two documents.
  4. Judge the clauses on meaning. Reworded but identical in substance is reported as no change. Same words, different trigger event, is reported as a change.

What comes back is not a marked-up PDF. It is a short list: what moved, what it costs, and what to look at by eye.

Two PDFs, or two photos. Thirty seconds.

CHECK A PAIR →

Three free. No login, no card, no sales call.

Practical notes on the files

Questions people ask

How do I compare two PO PDFs?
A text or PDF diff tool works only when both files came out of the same template. For a quotation on your letterhead against a PO out of the customer's ERP, you need something that reads the meaning of each field rather than the position of each word.
Can Adobe Acrobat compare a purchase order to a quotation?
Acrobat's Compare Files is built for two revisions of the same document. Pointed at two differently laid out documents it marks almost every line as changed, which tells you nothing.
Can I compare a scanned PO?
Yes, if whatever reads it can handle images. A scan or a phone photo has no text layer, so a text diff has nothing to work with; a reader that looks at the rendered page does.
Is it safe to upload a purchase order to a website?
Check what the site keeps. PoGuard reads the two files in memory, never writes them to disk, and stores only the figures and clauses it extracted, which expire automatically. Commercially sensitive documents still deserve a read of the privacy page first.