When a multipage invoice is imported into Excel, the “carried forward” subtotal at the foot of a page, the “brought forward” amount at the top of the next one and the repeated column headings all arrive as rows, and the carry amounts get summed as if they were purchases. Remove them by classifying every row at each page break (keep, exclude with a reason, or unresolved) and then check that each page’s items appear once and the line net total matches the invoice.
A plausible grand total is not enough: the same carry rows can inflate the sum, and a missing item can hide behind a duplicated one.
What happens at a page break in an invoice table?
Synthetic example: page 1 ends with item 18 for EUR 40.00, followed by “Carried forward 620.00”. Page 2 starts with “Brought forward 620.00”, the column headings, then item 19 for EUR 15.00. The two 620.00 entries describe the same running total; neither is a purchase.
Suppose items 1 to 17 total EUR 580.00. Item 18 adds 40.00, so the carried amount is 580.00 + 40.00 = 620.00. With item 19 as the last item, the correct line net total is 620.00 + 15.00 = EUR 635.00. Summing one carry row by mistake gives 635.00 + 620.00 = EUR 1,255.00; summing both gives 635.00 + 620.00 + 620.00 = EUR 1,875.00. All amounts are item net amounts before document adjustments and tax.
Repeated headings cause a different error: “Description / Quantity / Price / Amount” becomes a text row in the middle of your data, breaks number formats and can be mistaken for an item with a blank amount.
How do you remove repeated headers and carried subtotals?
- Keep a raw copy in source order with page and visual-row numbers added before any sort or filter. Two identical headings are only explainable with their position.
- Check document identity across the break. Compare invoice number and supplier on both pages: a combined PDF can hold a second invoice with the same layout.
- Classify each boundary row with the table below, and write the reason next to it.
- Move excluded rows to a review sheet rather than deleting them, so a later reviewer can reverse a wrong decision without going back to the PDF.
- Reconcile item counts per page and the line net total with the subtotal printed on the invoice.
| Row seen at a page break | Evidence needed | Treatment in the item table |
|---|---|---|
| “Description / Quantity / Price / Amount” | Labels repeat the table’s columns | Exclude as heading; keep an exclusion record |
| “Carried forward 620.00” or “Brought forward 620.00” | Label and amount agree with the running item sum | Exclude from item sums |
| A description fragment without numbers | Layout and item anchor confirm the previous item | Join its text; keep both page references |
| A new position with the same price as the previous one | Separate position number or delivery evidence | Keep both items |
| Another invoice number after the break | Document identity changes | Start a separate invoice group |
| An isolated amount with no reliable label | No defensible classification yet | Mark unresolved; inspect the whole page |
If you are still choosing how to extract invoice tables from a PDF to Excel, test that route on a multipage invoice first, so the page-break rows above show up before you rely on it.
InvoiceLineLab extracts invoice line items from PDF to Excel or CSV and keeps the source page beside each row, so the rows on either side of a page break can be checked against the PDF and no carried subtotal is counted as a purchase.
Why not just filter out every row containing “total”?
Because “total” can belong to a genuine description (“total station tripod”, “total care service”), and some layouts print no label on the carry row at all. Fixed rules such as “remove the first two rows of each page” break on the first page, on an inserted attachment or on a continuation page without headings.
Confirm three things together before excluding a carry row: its label, its position at the page edge, and its amount matching the running sum of the items above. The same amount appearing twice is not enough on its own: two real items can cost the same. If a carried subtotal differs from your running sum, check first whether it includes an adjustment or uses another basis (gross instead of net, for example); never edit the amount to force the match.
How do you record the decision at each page break?
Keep a boundary register with one line per decision. For the example:
| Page | Row | Amount (EUR) | Decision | Reason |
|---|---|---|---|---|
| 1 | Item 18 | 40.00 | Keep | Item with position and amount |
| 1 | Carried forward | 620.00 | Exclude | Label at page foot; equals 580.00 + 40.00 |
| 2 | Brought forward | 620.00 | Exclude | Label at page top; equals the carried amount |
| 2 | Column headings | Exclude | Repeats table labels | |
| 2 | Item 19 | 15.00 | Keep | Item with position and amount |
Four amount-bearing rows around the break, two real purchases, each decision explained. A blank quantity and price do not prove that a description continues either: check the source and the item anchor, and leave the fragments unresolved if they disagree. For text that wraps across the break, rejoin multiline descriptions with a reviewed item key.
How do you check page coverage as well as sums?
Totals can balance while the table is wrong. In a separate fictional invoice, position 22 for EUR 15.00 is missing and position 27 for EUR 15.00 appears twice: the item count and the sum are both unchanged. Only a check of position numbers, page by page, shows one item missing and another repeated.
An eight-page invoice has seven page breaks to explain, plus the start and end of the document. Record a decision for each, and account for every page, including a last page that only holds totals. A page with no extracted rows needs a reason: summary only, no item table, or a failed read. If the page is an image, see the scanned or text PDF check. Repeated rows caused by re-importing the same file belong to a different problem, duplicate invoice rows in a batch.
Accept the table when headings and carry rows have exclusion reasons, joined text keeps its page references, every real position appears once and unresolved boundaries stay visible. Then reconcile the line totals with the amount payable. The column layout behind this is described in invoice line items and header fields, the synthetic invoice example shows the target rows, and invoice data validation lists the checks on each row.
FAQ
What does “carried forward” mean on an invoice?
It is the running total of the items printed so far, repeated at the foot of one page and as “brought forward” at the top of the next. It is not a purchase and must not be summed with the items.
Why is my Excel total higher than the invoice after importing a multipage PDF?
Usually because carried and brought-forward subtotals were imported as rows and added to the item amounts. Exclude them and recompute the line net total.
Should I delete repeated header rows?
Move them to an exclusion sheet with their page number instead of deleting them. The record shows why each row left the item table.
Can the item total match and the table still be wrong?
Yes. A missing item and a duplicated item at the same price cancel out. Check position numbers and item counts per page as well.