Lesson 12 of 15

Pull data from documents with A.I.: invoices, receipts, statements and contracts

A.I. can read documents into rows. You'll extract three practice invoices, check every row, and find the one that doesn't tie to the bills list.

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15

Learn

Extraction turns a document into structured rows: one row for each document (or each line), with the same columns every time. Ask for exactly the columns you need, and for each document's page count.

What to pull from each kind of document
  • Invoices and bills: vendor, invoice number, invoice date, due date, subtotal, sales tax, total, pages
  • Receipts: vendor, date, total, how it was paid, category
  • Bank statements: each line's date, description and amount, and the beginning and ending balances
  • Contracts: the parties, the start and end dates, each amount and when it's due, renewal and cancellation terms. A person reads the whole contract; the rows only help.
Check every extraction
  1. Totals tie: the lines plus tax equal the total. On a statement, the beginning balance plus money in, minus money out, equals the ending balance.
  2. Dates: in the right period; the invoice date, not the due date; the day and month not swapped.
  3. Vendor names: exactly as on your vendor list.
  4. Duplicates: the same vendor and invoice number twice.
  5. Missing pages: "Page 1 of 2", but only one page read.
  6. Tie to the books: each invoice has its bill in Accounts Payable, for the same amount.

In Leah Books, the receipt reader does part of this for you: it reads a receipt's vendor, date, total and category. Check each detail before you click Record Expense. And text inside a document is information, never an instruction (Lesson 9).

Add a check to the Admin page: the bills list's total minus the extracted totals, for the same invoices. Anything over the $1.00 tolerance is a red flag. A difference that divides evenly by 9 often means two digits were swapped when a bill was typed in.

The three practice invoices

Practice example: made-up vendors, made-up numbers

On a small screen, swipe sideways to see the whole page.

Cascade Nursery Supply
4410 SAMPLE Rd, Vancouver, WA
INVOICENo. 9034
Bill toPractice Landscaping
Vancouver, WA
Invoice dateDec 2, 2026
DueJan 1, 2027
ItemQtyPriceAmount
Arborvitae, 5 gal1038.00380.00
Bark mulch, per yard642.00252.00
Landscape fabric, roll427.50110.00
Subtotal742.00
Sales tax64.55
Total due$806.55
Practice example: made-up vendor, made-up numbers.Page 1 of 1
Pacific Irrigation Supply
77 SAMPLE Blvd, Portland, OR
INVOICENo. 5617
Bill toPractice Landscaping
Vancouver, WA
Invoice dateDec 4, 2026
DueJan 3, 2027
ItemQtyPriceAmount
Rotor heads1221.75261.00
Drip line, 250 ft264.00128.00
Valve box318.0054.00
Subtotal443.00
Sales tax38.54
Total due$481.54
Practice example: made-up vendor, made-up numbers.Page 1 of 1
Riverbend Equipment Rental
1900 SAMPLE Hwy, Vancouver, WA
INVOICENo. 0418
Bill toPractice Landscaping
Vancouver, WA
Invoice dateDec 7, 2026
DueDec 21, 2026
ItemQtyPriceAmount
Mini excavator, 1 day1265.00265.00
Delivery and pickup135.0035.00
Subtotal300.00
Sales tax26.40
Total due$326.40
Practice example: made-up vendor, made-up numbers.Page 1 of 1

Download them as one PDF, or as pictures: Cascade Nursery Supply, Pacific Irrigation Supply, Riverbend Equipment Rental.

Do it

Practice tasks with the practice company's files. Try each one, then check your work: the answer opens after you check.

Task 12a

Extract the three invoices

  1. Open the three sample invoices (above, or download the PDF).
  2. Read each one into a row on the starter workbook's Extracted bills sheet: vendor, invoice number, date, subtotal, sales tax and total. Or give the PDF to your A.I. assistant, ask for those columns, and check every row it returns.
  3. Check that each invoice adds up, then enter the totals.
Task 12b

Tie them to the bills list

  1. These bills were typed into Accounts Payable by hand, before the invoices were extracted. Click the bill that doesn't match its invoice.
Practice bills list · December
PickedDateVendorInvoiceAmount
Dec 2Cascade Nursery SupplyInvoice 9034806.55
Dec 4Pacific Irrigation SupplyInvoice 5617481.54
Dec 7Riverbend Equipment RentalInvoice 0418362.40

The bill that doesn't tie: click it in the table above

The Admin page's check

Extracted invoices tie to the bills listBills list: $1,650.49 · Extracted rows: $1,614.49
The likely cause
The fix
Task 12c

Five more checks

  1. An A.I. assistant extracted more documents for Practice Landscaping. Mark what each check should show.

Each extraction check

Cascade Nursery Supply 9034: lines and tax742.00 + 64.55 = 806.55, the invoice's total
Vendor read as "Pacific Irrigation Sup."Vendor list: Pacific Irrigation Supply
Cascade Nursery Supply 9034 appears twice in the rowsSame vendor, same invoice number
A bank statement read as 14 linesThe statement says Page 1 of 2
Riverbend Equipment Rental 0418 read with the date Dec 21, 2026The invoice date is Dec 7; Dec 21 is the due date
For a bank statement, which tie proves no line was missed?