Keep each receipt as one row on a single Excel sheet and let formulas total each month. Get a free 3-sheet template with 11 columns; fill it by hand or from photos at $0.02 a page, 50 pages free.
How to keep track of receipts in Excel
Download the free receipt-tracker.xlsx, 500 rows by 11 columns, and type receipts into the Receipts sheet. A Monthly sheet counts and adds them by month and category for one currency at a time, and a short Python script can add rows for you from receipt photos.
GuidesUpdated
Step by step
Track receipts in Excel
Get the template
Download receipt-tracker.xlsx. We built it with openpyxl 3.1.5 and the script below, so you can change it and build your own. It has 3 sheets: Receipts, Lists and Monthly. The Receipts sheet has 500 rows ready, a frozen header row with filters, and a Date column that only takes dates. The Category dropdown reads its 8 categories from the Lists sheet, so rename them there.
build_tracker.py from openpyxl import Workbook from openpyxl.styles import Alignment, Font, PatternFill from openpyxl.worksheet.datavalidation import DataValidation ROWS = 500 LAST = ROWS + 1 COLUMNS = ["Date", "Vendor", "Category", "Paid by", "Currency", "Net", "Tax", "Total", "Month", "Receipt no.", "Checked"] WIDTHS = [12, 28, 18, 14, 10, 12, 10, 12, 11, 13, 22] CATEGORIES = ["Meals", "Travel", "Fuel", "Office supplies", "Software", "Equipment", "Phone and internet", "Other"] HEAD = Font(bold=True, color="FFFFFF") HEAD_FILL = PatternFill("solid", fgColor="1F4E46") MONEY = "#,##0.00" def header(ws, row, labels): for col, label in enumerate(labels, start=1): cell = ws.cell(row=row, column=col, value=label) cell.font = HEAD cell.fill = HEAD_FILL cell.alignment = Alignment(horizontal="center") wb = Workbook() # Receipts: you type date, vendor, category, paid by, currency, tax and total; net and month are formulas receipts = wb.active receipts.title = "Receipts" header(receipts, 1, COLUMNS) for col, width in zip("ABCDEFGHIJK", WIDTHS): receipts.column_dimensions[col].width = width for row in range(2, LAST + 1): receipts[f"A{row}"].number_format = "yyyy-mm-dd" receipts[f"F{row}"] = f'=IF(H{row}="","",H{row}-G{row})' receipts[f"I{row}"] = f'=IF(A{row}="","",DATE(YEAR(A{row}),MONTH(A{row}),1))' receipts[f"I{row}"].number_format = "mmm yyyy" for col in "FGH": receipts[f"{col}{row}"].number_format = MONEY receipts.freeze_panes = "A2" receipts.auto_filter.ref = f"A1:K{LAST}" lists = wb.create_sheet("Lists") lists["A1"] = "Categories" lists["A1"].font = Font(bold=True) for row, name in enumerate(CATEGORIES, start=2): lists[f"A{row}"] = name lists.column_dimensions["A"].width = 22 pick_category = DataValidation(type="list", formula1=f"Lists!$A$2:$A${len(CATEGORIES) + 1}", allow_blank=True) pick_date = DataValidation(type="date", operator="greaterThan", formula1="DATE(2000,1,1)", allow_blank=True) pick_date.error = "Type a date, for example 2026-11-02" receipts.add_data_validation(pick_category) receipts.add_data_validation(pick_date) pick_category.add(f"C2:C{LAST}") pick_date.add(f"A2:A{LAST}") # Monthly: one year and one currency at a time, so amounts never mix currencies monthly = wb.create_sheet("Monthly") monthly["A1"], monthly["B1"] = "Year", "=YEAR(TODAY())" monthly["A2"], monthly["B2"] = "Currency", "USD" for cell in ("A1", "A2"): monthly[cell].font = Font(bold=True) header(monthly, 4, ["Month", "Receipts", "Net", "Tax", "Total"]) month_col, currency_col = f"Receipts!$I$2:$I${LAST}", f"Receipts!$E$2:$E${LAST}" for n in range(12): row = 5 + n monthly[f"A{row}"] = f"=DATE($B$1,{n + 1},1)" monthly[f"A{row}"].number_format = "mmm yyyy" criteria = f"{month_col},$A{row},{currency_col},$B$2" monthly[f"B{row}"] = f"=COUNTIFS({criteria})" for col, source in (("C", "F"), ("D", "G"), ("E", "H")): monthly[f"{col}{row}"] = f"=SUMIFS(Receipts!${source}$2:${source}${LAST},{criteria})" monthly[f"{col}{row}"].number_format = MONEY monthly["A17"] = "Year" monthly["A17"].font = Font(bold=True) for col in "BCDE": monthly[f"{col}17"] = f"=SUM({col}5:{col}16)" monthly[f"{col}17"].font = Font(bold=True) if col != "B": monthly[f"{col}17"].number_format = MONEY header(monthly, 19, ["Category", "Receipts", "Net", "Tax", "Total"]) in_year = f'Receipts!$A$2:$A${LAST},">="&DATE($B$1,1,1),Receipts!$A$2:$A${LAST},"<"&DATE($B$1+1,1,1),{currency_col},$B$2' for n in range(len(CATEGORIES)): row = 20 + n monthly[f"A{row}"] = f"=Lists!A{n + 2}" criteria = f"Receipts!$C$2:$C${LAST},$A{row},{in_year}" monthly[f"B{row}"] = f"=COUNTIFS({criteria})" for col, source in (("C", "F"), ("D", "G"), ("E", "H")): monthly[f"{col}{row}"] = f"=SUMIFS(Receipts!${source}$2:${source}${LAST},{criteria})" monthly[f"{col}{row}"].number_format = MONEY end = 20 + len(CATEGORIES) - 1 monthly[f"A{end + 1}"] = "No category" for col in "BCDE": monthly[f"{col}{end + 1}"] = f"={col}17-SUM({col}20:{col}{end})" if col != "B": monthly[f"{col}{end + 1}"].number_format = MONEY monthly.column_dimensions["A"].width = 20 for col in "BCDE": monthly.column_dimensions[col].width = 12 wb.save("receipt-tracker.xlsx") print(f"receipt-tracker.xlsx: {ROWS} rows ready, {len(CATEGORIES)} categories, sheets {wb.sheetnames}") # $ python build_tracker.py # receipt-tracker.xlsx: 500 rows ready, 8 categories, sheets ['Receipts', 'Lists', 'Monthly']Fill in one row per receipt
Each receipt is one row with 11 columns, but 2 of them fill themselves. Type the total and the tax, and Net subtracts the tax from the total. Type the date, and Month turns it into the first day of that month, which is how the Monthly sheet groups rows. Use Receipt no. and Checked to note the receipt number and whether you checked the amounts.
show_formulas.py from openpyxl import load_workbook book = load_workbook("receipt-tracker.xlsx") receipts, monthly = book["Receipts"], book["Monthly"] for cell in ["F2", "I2"]: print(f"Receipts {cell} ({receipts[cell[0] + '1'].value}): {receipts[cell].value}") for cell in ["B1", "B2", "A5", "B5", "C5"]: print(f"Monthly {cell}: {monthly[cell].value}") # $ python show_formulas.py # Receipts F2 (Net): =IF(H2="","",H2-G2) # Receipts I2 (Month): =IF(A2="","",DATE(YEAR(A2),MONTH(A2),1)) # Monthly B1: =YEAR(TODAY()) # Monthly B2: USD # Monthly A5: =DATE($B$1,1,1) # Monthly B5: =COUNTIFS(Receipts!$I$2:$I$501,$A5,Receipts!$E$2:$E$501,$B$2) # Monthly C5: =SUMIFS(Receipts!$F$2:$F$501,Receipts!$I$2:$I$501,$A5,Receipts!$E$2:$E$501,$B$2)Read receipt photos with the receipt preset
To skip the typing, send each photo to parserkit's
receiptpreset. Every result includes an output.xlsx whose Summary sheet lists each field with its value, how it was checked and a status. Our 2 sample photos both came back verified: a Saltmarsh Bakery receipt for USD 58.05 with tax 4.30, paid by VISA ending 4417, and a Confiserie Aarenblick receipt for CHF 25.10 with tax 0.64. Each photo is 1 page, so each cost $0.02; volume rates are on pricing. For a one-off receipt, the free receipt to Excel converter turns a photo into an Excel sheet without code or an account.show_summary.py from openpyxl import load_workbook book = load_workbook("receipt-saltmarsh.xlsx", read_only=True) print(book.sheetnames) for row in book["Summary"].iter_rows(values_only=True): print(row) # $ python show_summary.py # ['Summary', 'Items', 'Taxes', 'Checks'] # ('field', 'value', 'checks', 'status') # ('status', 'verified') # ('values checked', '32 of 32') # ('math_balanced', 'yes') # ('repaired_fields', 0) # ('merchant.name', 'SALTMARSH BAKERY', 'ocr, agreement', 'verified') # ('merchant.address', '112 Commercial St, Portland, ME 04101', 'ocr, agreement', 'verified') # ('merchant.phone', '(207) 555-0186', 'ocr, agreement', 'verified') # ('receipt_number', '0417', 'ocr, agreement', 'verified') # ('date', datetime.datetime(2026, 11, 2, 0, 0), 'ocr', 'verified') # ('time', '8:41 AM', 'ocr, agreement', 'verified') # ('currency', 'USD', 'ocr, agreement', 'verified') # ('subtotal', 53.75, 'math, agreement', 'verified') # ('tax_total', 4.3, 'math, agreement', 'verified') # ('total', 58.05, 'math, agreement', 'verified') # ('payment.method', 'card', None, 'unverified') # ('payment.card_brand', 'VISA', 'ocr, agreement', 'verified') # ('payment.card_last4', '4417', 'ocr, agreement', 'verified')Add the results to the tracker
add_receipts.pycopies the date, vendor, currency, tax, total, receipt number and check status from each output.xlsx into the next empty row. Paid by gets the card brand and last 4 digits, or the payment method when there is no card. Category comes from a small vendor map we wrote in the script, so add your own vendors to it; anything not in it stays blank. The script skips a receipt it has already added, using the vendor and receipt number as the key.add_receipts.py import sys from openpyxl import load_workbook CATEGORY_BY_VENDOR = {"SALTMARSH BAKERY": "Meals", "CONFISERIE AARENBLICK": "Meals"} def read_summary(path): sheet = load_workbook(path, read_only=True)["Summary"] return {field: value for field, value, *_ in sheet.iter_rows(min_row=2, values_only=True)} def paid_by(fields): if fields.get("payment.card_brand"): return f"{fields['payment.card_brand']} {fields.get('payment.card_last4') or ''}".strip() return fields.get("payment.method") or "" def add(tracker, outputs): book = load_workbook(tracker) sheet = book["Receipts"] seen = {(sheet[f"B{r}"].value, sheet[f"J{r}"].value) for r in range(2, sheet.max_row + 1) if sheet[f"A{r}"].value} row = next(r for r in range(2, sheet.max_row + 2) if sheet[f"A{r}"].value is None) for path in outputs: fields = read_summary(path) key = (fields["merchant.name"], fields.get("receipt_number")) if key in seen: print(f"skipped {path}: receipt {key[1]} from {key[0]} is already in the tracker") continue sheet[f"A{row}"] = fields["date"] sheet[f"B{row}"] = fields["merchant.name"] sheet[f"C{row}"] = fields.get("category") or CATEGORY_BY_VENDOR.get(fields["merchant.name"]) sheet[f"D{row}"] = paid_by(fields) sheet[f"E{row}"] = fields["currency"] sheet[f"G{row}"] = fields.get("tax_total") or 0 sheet[f"H{row}"] = fields["total"] sheet[f"J{row}"] = fields.get("receipt_number") sheet[f"K{row}"] = f"{fields['status']}, {fields['values checked']}" print(f"row {row}: {fields['date']:%Y-%m-%d} {fields['merchant.name']} {fields['currency']} {fields['total']:.2f}") seen.add(key) row += 1 book.save(tracker) if __name__ == "__main__": add(sys.argv[1], sys.argv[2:]) # $ cp receipt-tracker.xlsx my-receipts.xlsx # # $ python add_receipts.py my-receipts.xlsx receipt-aarenblick.xlsx receipt-saltmarsh.xlsx # row 2: 2026-10-24 CONFISERIE AARENBLICK CHF 25.10 # row 3: 2026-11-02 SALTMARSH BAKERY USD 58.05 # $ python add_receipts.py my-receipts.xlsx receipt-saltmarsh.xlsx # skipped receipt-saltmarsh.xlsx: receipt 0417 from SALTMARSH BAKERY is already in the trackerRead your monthly totals
Open the Monthly sheet. B1 holds the year, this year by default, and B2 the currency, USD to start. Each of the 12 month rows counts the receipts and adds net, tax and total with COUNTIFS and SUMIFS, the Year row adds the months, and the category block below splits the year by category, with blank categories under No category. We set B2 from Python and let LibreOffice recalculate the file: November 2026 in USD shows 1 receipt for 58.05, and October 2026 in CHF shows 1 for 25.10. The sheet never converts currencies, so it totals 1 currency at a time.
read_monthly.py import subprocess import sys from openpyxl import load_workbook currency = sys.argv[1] book = load_workbook("my-receipts.xlsx") book["Monthly"]["B2"] = currency book.save("my-receipts.xlsx") subprocess.run(["soffice", "--headless", "--calc", "--convert-to", "xlsx", "--outdir", "recalc", "my-receipts.xlsx"], check=True, capture_output=True) monthly = load_workbook("recalc/my-receipts.xlsx", data_only=True)["Monthly"] for month, count, net, tax, total in monthly.iter_rows(min_row=5, max_row=16, values_only=True): if count: print(f"{month:%b %Y} {currency}: {count} receipt, net {net:.2f}, tax {tax:.2f}, total {total:.2f}") print("Year row:", [cell.value for cell in monthly[17]]) # $ python read_monthly.py USD # Nov 2026 USD: 1 receipt, net 53.75, tax 4.30, total 58.05 # Year row: ['Year', 1, 53.75, 4.3, 58.05] # $ python read_monthly.py CHF # Oct 2026 CHF: 1 receipt, net 24.46, tax 0.64, total 25.10 # Year row: ['Year', 1, 24.46, 0.64, 25.1]
Example
The Saltmarsh receipt through the receipt preset
The recorded run of receipt-saltmarsh.jpg: the request, and the response with the checks it ran.
POSTapi.parserkit.com/v1/parse?wait=60
curl "https://api.parserkit.com/v1/parse?wait=60" \
-H "Authorization: Bearer $PARSERKIT_API_KEY" \
-F file=@receipt-saltmarsh.jpg \
-F preset=receiptimport os
import requests
with open("receipt-saltmarsh.jpg", "rb") as file:
res = requests.post(
"https://api.parserkit.com/v1/parse",
params={"wait": 60},
headers={"Authorization": f"Bearer {os.environ['PARSERKIT_API_KEY']}"},
files={"file": file},
data={"preset": "receipt"},
)
job = res.json()
print(job["verification"]["status"], job["verification"]["coverage"])import { openAsBlob } from "node:fs";
const form = new FormData();
form.append("file", await openAsBlob("receipt-saltmarsh.jpg"), "receipt-saltmarsh.jpg");
form.append("preset", "receipt");
const res = await fetch("https://api.parserkit.com/v1/parse?wait=60", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PARSERKIT_API_KEY}` },
body: form,
});
const job = await res.json();
console.log(job.verification.status, job.verification.coverage);{
"id": "job_co3j5qnaovlu66k1ooui",
"status": "succeeded",
"preset": "receipt",
"pages": 1,
"cost_usd": 0.02,
"verification_status": "verified",
"data": {
"merchant": {
"name": "SALTMARSH BAKERY",
"address": "112 Commercial St, Portland, ME 04101",
"phone": "(207) 555-0186"
},
"receipt_number": "0417",
"date": "2026-11-02",
"time": "8:41 AM",
"currency": "USD",
"items": [
{
"description": "Sourdough loaf",
"quantity": 2,
"unit_price": 7.5,
"total": 15
},
{
"description": "Croissant",
"quantity": 3,
"unit_price": 3.75,
"total": 11.25
},
{
"description": "Oat milk latte",
"quantity": 2,
"unit_price": 5.25,
"total": 10.5
}
],
"subtotal": 53.75,
"taxes": [
{
"label": "Meals tax 8%",
"rate": 8,
"base": 53.75,
"amount": 4.3
}
],
"tax_total": 4.3,
"total": 58.05,
"payment": {
"method": "card",
"card_brand": "VISA",
"card_last4": "4417"
}
},
"verification": {
"status": "verified",
"math_balanced": true,
"coverage": {
"values": 32,
"checked": 32
},
"checks": [
{
"kind": "line_total",
"path": "items[0].total",
"status": "pass",
"expected": 15,
"actual": 15,
"difference": 0,
"message": "quantity x unit price"
},
{
"kind": "line_total",
"path": "items[1].total",
"status": "pass",
"expected": 11.25,
"actual": 11.25,
"difference": 0,
"message": "quantity x unit price"
},
{
"kind": "line_total",
"path": "items[2].total",
"status": "pass",
"expected": 10.5,
"actual": 10.5,
"difference": 0,
"message": "quantity x unit price"
},
{
"kind": "line_total",
"path": "items[3].total",
"status": "pass",
"expected": 17,
"actual": 17,
"difference": 0,
"message": "quantity x unit price"
},
{
"kind": "line_total",
"path": "taxes[0].amount",
"status": "pass",
"expected": 4.3,
"actual": 4.3,
"difference": 0,
"message": "tax base x rate"
},
{
"kind": "sum",
"path": "tax_total",
"status": "pass",
"expected": 4.3,
"actual": 4.3,
"difference": 0,
"message": "sum of the tax lines"
}
]
},
"outputs": [
{
"name": "output.json",
"bytes": 8345
},
{
"name": "output.xlsx",
"bytes": 9957
},
{
"name": "output.csv",
"bytes": 342
},
{
"name": "quickbooks.csv",
"bytes": 354
},
{
"name": "xero.csv",
"bytes": 847
}
],
"warnings": []
}Real response from . Trimmed to 3 of 4 items and 6 of 8 checks, with bounding boxes, empty fields and file links left out.
Try it on this fileThe 11 columns on the Receipts sheet
You type 9 columns; Net and Month are formulas.
| Column | What goes in it | Filled by add_receipts.py from |
|---|---|---|
| Date | Receipt date; only dates are accepted | date |
| Vendor | Shop or supplier name | merchant.name |
| Category | One of the 8 categories on the Lists sheet | Your vendor map in the script |
| Paid by | Card and last 4 digits, or how you paid | payment.card_brand and card_last4, or payment.method |
| Currency | Three-letter code such as USD or CHF | currency |
| Net | Formula: Total minus Tax | Formula |
| Tax | Tax on the receipt | tax_total |
| Total | Amount paid | total |
| Month | Formula: first day of the receipt's month | Formula |
| Receipt no. | Number printed on the receipt | receipt_number |
| Checked | Whether the amounts were checked | status and values checked |
What we ran
Every script here ran on Python 3.12.14 with openpyxl 3.1.5. openpyxl saves formulas without their results: with data_only=True it reads the value stored the last time Excel read the sheet, and on our freshly filled tracker the Year row came back as None. So read_monthly.py lets LibreOffice recalculate the file headless before reading the totals. The lines under # $ in each code block are what the script printed, cut only where you see ....
The template you download is the file build_tracker.py wrote, with no receipts in it. The 2 receipts are parserkit's public samples, made up for testing. The full scripts and outputs are linked under Sources.
import platform
import subprocess
import sys
from importlib.metadata import version
TOOLS = {
"tesseract": lambda: subprocess.run(["tesseract", "--version"], capture_output=True, text=True).stdout.split()[1],
"ollama": lambda: subprocess.run(["ollama", "--version"], capture_output=True, text=True).stdout.split()[-1],
"libreoffice": lambda: subprocess.run(["soffice", "--version"], capture_output=True, text=True).stdout.split()[1],
}
print("Python", platform.python_version())
for name in sys.argv[1:]:
print(name, TOOLS[name]() if name in TOOLS else version(name))
# $ python versions.py openpyxl libreoffice
# Python 3.12.14
# openpyxl 3.1.5
# libreoffice 25.2.3.2FAQ
Common questions
Should I make a new sheet for each month?
No. Keep every receipt on the Receipts sheet. The Month column turns each date into the first day of its month, and the 12 month rows on the Monthly sheet count and add each month with COUNTIFS and SUMIFS, so one sheet of rows covers the whole year.
How do I track receipts in more than one currency?
Give each receipt its own currency code in the Currency column, then type the currency you want into B2 on the Monthly sheet. With USD in B2, November 2026 showed 1 receipt for 58.05. With CHF, October 2026 showed 1 receipt for 25.10. The sheet doesn't convert between currencies.
Does the template have macros or links to other files?
No. receipt-tracker.xlsx is a plain xlsx workbook with no macros and no links to other files. It uses built-in formulas, a dropdown list and filters only, and opens in Excel or LibreOffice.
What does it cost to read receipt photos?
$0.02 a page, and a receipt photo is 1 page. Signing in with Google gives you $1.00 of credit, which is 50 pages free, and failed jobs cost nothing. A new account runs 2 jobs at a time, or up to 12 once you've added credit.
Related
- Receipt OCR APIItems, tax, tip and total from photos and PDFs, every sum re-added.
- Receipt to Excel converterTurn receipt photos and PDFs into an expense sheet with merchant, date, items, tax and total, every sum checked, free without an account.
- Receipt OCR APIsparserkit first for receipts with every item, tax and total checked at $0.02 a page, then Veryfi, Mindee and Taggun.
- Extract invoice data with PythonText layer or Tesseract OCR, then a local LLM fills a JSON schema, then Python checks every total before it reaches your books.
- Are receipt scanning apps actually worth it?What receipt apps charge per receipt, and how parserkit reads receipts for $0.02 a page with no subscription.
- How much does it cost to scan 1,000 pages?What scanning services charge for 1,000 pages, and what doing it yourself costs instead.
Start free
Send us your worst scan
Your first $1 is free: 50 pages with every check and export, no card.
