Invoice Line Items in Google Sheets: One Row Per Item
A supplier invoice with 40 line items is 40 rows of data: what was bought, how many, and at what price. Typing them in is slow, so most invoice sheets leave them out.
This guide copies the line item table from an invoice straight into Google Sheets, one row per item. It uses Sheetminer, a Google Sheets add-on. Its Table Snip tool finds the tables on each page, so you click the line item table and it is inserted with its headers, and every cell stays linked to the place on the invoice it came from.
What you need
- The Sheetminer add-on installed in Google Sheets, and edit access to the spreadsheet.
- The invoice as a PDF, PNG, or JPG file, up to 20MB and 50 pages.
Step 1: Upload and process the invoice
- Open the sidebar: Extensions → Sheetminer → Open.
- In the Extract tab, add the invoice from Google Drive (Add files), from your computer (Computer), or by dragging it onto the box.
- In the Review files window, click Process. The button shows the page count, for example Process 1 page.
Processing uses one page of your allowance per page of the invoice, counted once. Table Snip itself uses none.
Step 2: Select the line item table
- In the sheet, click the cell where the table should start.
- Tick the invoice in the Documents list and click Extract at the bottom of the sidebar.
- Click the Table tab.
- Click the line item table. Sheetminer outlines the tables it found in blue, labeled for example “Table 1 · 6 rows × 4 cols”. If the table is not outlined, drag a box around it, including the header row and every column you want.
If the line items run over several pages, hold Shift and select the table on each page. They are inserted as one table, and repeated header rows are left out.
Step 3: Check it, then insert
Click Edit to see exactly what will go into the sheet. Here you can correct a value, rename a header, and leave out rows or columns you do not want, such as a subtotal row printed inside the table.
Then click Insert into Sheet. You get the table as printed, with the header row first and one row per item:
| Description | Qty | Unit price | Amount |
|---|---|---|---|
| Cartridge, black | 4 | 42.00 | 168.00 |
| Cartridge, colour | 2 | 58.50 | 117.00 |
| Paper A4, 5 ream box | 6 | 21.40 | 128.40 |
| Stapler, heavy duty | 1 | 34.90 | 34.90 |
| Toner waste bottle | 1 | 46.00 | 46.00 |
| Delivery | 1 | 18.50 | 18.50 |
The column names are the ones printed on the invoice, so yours will differ.
To confirm no line was missed, sum the amount column, here =SUM(D2:D7), and compare it with the subtotal printed on the invoice. For this table it is 512.80.
Invoices with different layouts: use AI Snip
Table Snip copies a table as printed, which suits a single invoice, or invoices with the same headers. For those, click a cell in the table you already have before you snip the next one. The button then reads Add to table, and after a preview the new rows are added at its end.
When the invoices have different layouts, AI Snip is the better fit. It gives every invoice the same columns and adds a Document column with the name of the file each row came from, so you can tell the invoices apart. The Document column is on by default. It is the Include document name column option in the AI Snip preferences.
In the Snip extract window, click the AI Snip tab and pick the built-in Invoice template. On Edit fields, remove every field except Line items, a list with Description, Quantity, Unit price, Tax rate, and Line total. Then run the extraction on all the ticked invoices and insert the result. Each line item is one row.
The template saves automatically. For next month’s invoices, click a cell in the table you already have before you insert, and the new rows are added at its end. AI Snip is included in the pages used to process the invoices. Only a very large run, such as hundreds of detailed rows, can use extra pages.
If you also want the supplier, invoice number, and totals, see how to extract invoice data from PDFs into Google Sheets.
Frequently Asked Questions
How do I get invoice line items into Google Sheets? Upload the invoice to Sheetminer, open the Table tab, and click the line item table on the invoice. Table Snip copies it into your sheet with its headers, one row per item.
What if the line items run over several pages? Hold Shift and select the table on each page. The tables are inserted as one table, each page’s rows below the previous page’s, and repeated header rows are left out.
Can Sheetminer extract line items from a scanned invoice? Yes. Sheetminer reads digital PDFs, scanned PDFs, and PNG and JPG images, up to 20MB and 50 pages per file. On a scan, click Edit to check the values before you insert them.
How many pages does Table Snip use? None. Pages are counted once, when the invoice is processed after upload: one page for each page of the invoice. After that you can run Table Snip on it as often as you like. The free plan includes 50 pages every month.
How do I put line items from many invoices in one table? If the invoices have the same headers, click a cell in the existing table before you snip the next one, and Table Snip adds the new rows at its end. If the layouts differ, use AI Snip with a Line items list. It returns the same columns for every invoice and, by default, adds a Document column with the name of the file each row came from.
Sheetminer is available from the Google Workspace Marketplace, and the free plan includes 50 pages a month. Install Sheetminer · Table Snip documentation