Site Logo

English

Amounts that stay on the line they belong to

On a bill, the only thing joining a description to its figure is that they sit at the same height on the page. Lose that and you have a list of words and a list of numbers with no way back. Evidano reads financial paper as rows: quantity, description, unit price and amount together, subtotals and tax kept apart from the line items, and a note when the figures on the page do not add up to the total printed underneath them.

Sample pages

Real pages from public collections, shown beside their transcriptions. Pages whose transcription is still being checked are marked.

A dot-matrix supermarket till receipt listing abbreviated grocery items with prices, tax flags and a total
Sample 1. A supermarket till receipt from Manchester, New Hampshire, printed in the late twentieth century on a dot-matrix register. Item names are truncated to fit the roll, taxable lines are flagged with a trailing asterisk or “*TX”, multi-buy and weighed items get an explanatory line of their own, and the totals block runs total, cash tendered, subtotal, tax and change in that order.

Source · CC0 1.0 · Scan by Struthious Bandersnatch

Transcription being verified

A found receipt with no published transcription. The printed text is short enough to check by eye, which makes it a good page for testing whether the line items and the totals block come back separately.

What the model is told to watch for: Attend closely to currency symbols, decimal separators, parentheses used for negative amounts, percentage signs, quantity marks, subtotals, taxes, and grand totals. Keep item codes, account numbers, ditto marks, stamps, signatures, handwritten adjustments, and alignment between descriptions and amounts associated with their original rows.

A handwritten statement of building expenses on ruled paper, with two money columns, ruled subtotals and a grand total
Sample 2. A statement of the cost of building St John’s Church at Maria Stein, Ohio, drawn up by the secretary of the building committee to cover the years 1888 to 1894. Materials and contracts on the left, an inner column for components and an outer column for the extended amount, dollars and cents divided by printed rules, subtotals ruled off, and a grand total marked with a dollar sign.

Source · CC BY-SA 4.0 · Photograph by MLB1834

Transcription being verified

A single family-held sheet with no published edition. Its two money columns and ruled subtotals make it a useful test of whether an extension is read as a separate value from the components that produce it.

What the model is told to watch for: Attend closely to currency symbols, decimal separators, parentheses used for negative amounts, percentage signs, quantity marks, subtotals, taxes, and grand totals. Keep item codes, account numbers, ditto marks, stamps, signatures, handwritten adjustments, and alignment between descriptions and amounts associated with their original rows.

A page of an 1878 London fur trader’s stock book in two columns, with customer names, quantities of skins and a narrow price column using ditto marks
Sample 3. A page from the stock book of C. W. Martin & Sons, fur traders in London, for May 1878, reproduced as a halftone in a trade journal. Two account columns per opening, a narrow date column at the left edge, customers’ names with the quantity and grade of skins underneath, and a price column in which repeated values are entered as “do” rather than written out.

Source · Public domain

Transcription being verified

Reproduced from the stock book in a British fur trade journal; neither the journal caption nor any later study transcribes the entries.

What the model is told to watch for: Attend closely to currency symbols, decimal separators, parentheses used for negative amounts, percentage signs, quantity marks, subtotals, taxes, and grand totals. Keep item codes, account numbers, ditto marks, stamps, signatures, handwritten adjustments, and alignment between descriptions and amounts associated with their original rows.

An ornate 1911 American bank draft with engraved vignettes, a red diagonal overprint reading NOT OVER TWENTY DOLLARS and a handwritten amount
Sample 4. A bank draft drawn by the Banking House of R. S. Battles of Girard, Pennsylvania, on the Chase National Bank of New York, 12 June 1911. The amount appears twice — as “$18 44/100” at the top left and again in words along the ruled line — under a red protective overprint set diagonally across the face and a pale security tint reading ORIGINAL, with a serial number, a boxed routing code and the cashier’s signature.

Source · Public domain · Printed by the Western Bank Note & Engraving Co., Chicago

Transcription being verified

A collector’s item with no published transcription. The interest is in the two statements of the amount and the overprint that limits it, all of which should appear separately in the output.

What the model is told to watch for: Attend closely to currency symbols, decimal separators, parentheses used for negative amounts, percentage signs, quantity marks, subtotals, taxes, and grand totals. Keep item codes, account numbers, ditto marks, stamps, signatures, handwritten adjustments, and alignment between descriptions and amounts associated with their original rows.

How money is laid out on paper

Almost every financial document is a table pretending not to be one. Descriptions run down the left, quantities and unit prices sit in narrow middle columns, and amounts are set hard against the right-hand edge so the digits line up by place value. Older account books rule the money column into pounds, shillings and pence, or dollars and cents, with a printed vertical line where a decimal point would go, so the number has no separator at all; a figure like 12 10 6 is three columns, not one. Repetition is compressed with a ditto mark or the word “do”, both of which mean “as the line above” and both of which have to be resolved before a row means anything on its own.

Printed and machine-produced documents add their own conventions. A till receipt abbreviates item names to fit the paper width and flags taxable lines with an asterisk or a two-letter code; multi-buy pricing appears on its own line beneath the item as something like “6 @ 6/.89”, which is not a price but an explanation of one. Statements mark credits with a trailing CR or wrap negative amounts in parentheses rather than using a minus sign. Percentages, account numbers, invoice numbers, purchase-order references and stock codes all sit near the figures and none of them is money.

Then the document is worked on. A “PAID” stamp lands across the total; a cheque carries a protective overprint diagonally through the amount and a security tint under it; a clerk pencils a correction above a figure without crossing the old one out; a receipt is endorsed and signed on the back. The amount may be given twice, once in figures and once in words, and the two are not always the same — which is exactly the kind of discrepancy the transcription should surface rather than smooth over.

Why ordinary OCR struggles here

Alignment is the only relationship

There is rarely a line or a box joining “Freight on same” to the figure at the far right of the page. Software that reads a page as a stream of text puts the descriptions in one block and the numbers in another, and no amount of later processing can reliably put them back together. The pairing has to be made while the geometry is still available.

Money columns with no decimal point

In a ruled account book the separation between pounds and shillings, or dollars and cents, is a printed rule rather than a punctuation mark. Read naively, 785 and 09 in adjacent columns become 78509. The same page may also use a superscript fraction for a quantity, so 516 4/9 perch of stone is a measurement rather than a price.

Digits where a single character matters

In prose a misread letter is usually recoverable from the word around it. In a column of figures there is no context: a 1 read as a 7, a 3 as an 8, or a stray comma promoted to a decimal point changes the amount and nothing on the page contradicts it. Cross-footing the rows against the printed total is the only real check.

Ink on top of the figures

Stamps, protective overprints, security tints and handwritten adjustments are all designed to sit over the amount rather than beside it. A recogniser trained on clean type reads the overprint and the figure as one blurred shape, so the amount most worth getting right is the one most often wrong.

Who works with this material

Bookkeepers and accounts payable teams

Supplier invoices arrive as photographs, scans and PDFs in every layout there is. The useful output is not a wall of text but a header block — supplier, date, invoice number, currency — and a set of line rows that can be matched against a purchase order, with the tax and the total checked against the lines.

Economic and business historians

Price series, wage books and trade ledgers are the raw material of quantitative history, and they only become usable when each entry is a row with a date, a commodity and an amount. Ditto marks resolved consistently and pre-decimal currency kept in its original units matter more here than a tidy modern format.

Auditors and investigators

Working from copies of copies, an auditor needs the alterations as much as the figures: which amount was changed, what the stamp says, whether the sum in words matches the sum in figures. A transcription that reports the discrepancy is doing the job; one that silently prefers the neater number is not.

Small businesses and expense claims

A shoebox of till receipts photographed on a phone is the most common financial imaging task there is, and the hardest, because thermal paper fades and the roll curls. Getting merchant, date, total and tax off each one reliably is worth more than a perfect reading of every abbreviated item name.

Getting the best transcription

    Step 1

    State the currency and the conventions

    Say which currency you expect, whether a comma is a thousands separator or a decimal point, and whether the document uses pre-decimal columns. On a ledger, say that the money column is ruled rather than punctuated, so the parts are returned as separate values instead of run together.

    Step 2

    Ask for rows, then a totals block

    Request the line items as structured rows and the subtotal, discount, tax and grand total as a separate block. Keeping them apart stops a tax line being read as a purchase and makes it possible to check the arithmetic, which is the fastest way to find a misread digit.

    Step 3

    Say what to do with ditto marks and carried figures

    Decide whether “do”, a pair of inverted commas or a repeat mark should be expanded to the value above or left as written, and how “carried forward” and “brought forward” lines should be labelled. On a long account these decisions affect every second row.

    Step 4

    Check the totals before you trust the lines

    Add the transcribed rows and compare them with the total printed on the page. If they agree, the digits are almost certainly right; if they do not, the difference usually points straight at the misread figure. This is a better use of five minutes than reading every line against the image.

Frequently asked questions

Will the line items come back as rows I can put in a spreadsheet?
Yes. Each line is returned with its description, quantity, unit price and amount as separate values, and the header information — supplier, date, document number — is kept apart from the lines. That structure is what makes matching against an order or a bank feed possible.
How are pounds, shillings and pence columns handled?
They are read as the separate columns they are, so a figure ruled across three cells is returned as three values rather than one long number. You can ask for the original units to be preserved, for a decimal conversion, or for both, which is what most historical projects want.
Are credits, minus figures and amounts in parentheses recognised?
A trailing CR, a leading minus and an amount enclosed in brackets are all read as negative, and the convention used is reported so you can confirm it. Where a column mixes conventions, as statements sometimes do, the raw form is kept alongside the interpretation.
What happens with ditto marks?
They are recognised as repetition rather than as text. By default the value from the line above is filled in and the row is marked as having come from a ditto, so you can see which entries were written out and which were inherited. If you would rather keep the page as written, ask for the mark to be preserved.
Can it read an amount underneath a stamp or an overprint?
Usually, and where it cannot the amount is marked as uncertain rather than guessed. The stamp or overprint is transcribed as its own item, so a “PAID” impression, a protective overprint limiting the value, and the amount itself are three separate pieces of information rather than one smudge.

Related scripts and pages

Turn invoices and ledgers into rows

Upload a receipt, an invoice or an account page, choose Business and Financial Documents, and check the totals against the page before you import.