A vending machine route looks deceptively simple from the outside. You drop a machine in a break room, load it with chips and sodas, and come back every few weeks to collect dollar bills and quarters. The bookkeeping looks just as simple — until it isn't.
Here is the uncomfortable truth most new operators learn the hard way: a route with twenty machines doing $300 a month each is not one $6,000-a-month business. It is twenty separate micro-businesses, some of which are quietly losing you money while the winners keep the lights on. Without machine-level books, you cannot tell which is which. You see a deposit, you see a Costco receipt, and you assume everything in between is profit. It rarely is.
This guide walks through what real route bookkeeping looks like — how to reconcile cash and card collections against telemetry, how to track cost of goods and site commissions on a per-machine basis, and how to measure the true contribution margin of every single location so you know which machines to leave alone, which to optimize, and which to pull.
Why Per-Machine Books, Not Just Per-Business Books
A consolidated profit-and-loss statement for the whole route is fine for filing your taxes. It is useless for running the business. The reason is that the economics of vending are dominated by two costs that vary dramatically by location:
- Cost of goods sold (COGS) — typically 40% to 60% of gross sales, depending on whether you buy at Costco, from a direct distributor, or from a hot bottler route.
- Site commission — the percentage you pay the property owner for the privilege of being there. Common ranges are 5% to 25% of gross sales, but a captive office park might give you space for nothing while a busy hospital cafeteria might take 25% off the top.
Add cashless processing fees (5% to 10% on card transactions), telemetry subscription fees, fuel and time to service each stop, and an annual share of machine depreciation, and the operator-level net margin on a "$400 a month" machine can swing anywhere from negative to forty percent. You will not see that swing in a consolidated P&L. You will only see it in machine-level books.
The goal of this guide is to give you a chart of accounts, a reconciliation routine, and a contribution-margin report structured so that for every single asset on your route you can answer a simple question: is this machine paying for the gas it takes to service it?
Build the Chart of Accounts Around the Machine
Most bookkeeping systems default to organizing income and expenses by category — "Sales," "Cost of Goods," "Fuel." That is the wrong frame for a route business. The right frame is to make the machine (or the location, if you have multiple machines per stop) the primary cost center. Categories sit underneath.
A working chart of accounts for a small route looks roughly like this:
- Income
- Vending Sales — Cash
- Vending Sales — Cashless (card / mobile wallet)
- Refunds
- Cost of Goods Sold
- Snacks
- Beverages
- Coin and Bill Float (consumed on coin shortages)
- Spoilage / Expired Stock
- Direct Operating Expenses
- Site Commissions Paid
- Cashless Processing Fees
- Telemetry / DEX Subscription
- Cellular and Connectivity
- Repairs and Maintenance
- Parts
- Indirect / Route Expenses
- Vehicle Fuel
- Vehicle Mileage Reimbursement
- Warehouse / Garage Rent
- Insurance
- Bookkeeping and Tax Prep
- Capital
- Machine Depreciation (allocated)
- Equipment Repairs (capitalized)
Tag every entry with a machine_id (or location_id) and a route_date. In a spreadsheet, that means one column for the machine, one for the date, one for the category, and one for the amount. In a plain-text ledger such as Beancount, you can use account sub-segments (Income:Sales:Cash:M-014) or, more flexibly, metadata tags (#machine-014) so a single account tree stays manageable while you still slice by machine.
The principle is the same regardless of tool: a transaction with no machine tag should be the exception, not the rule.
Reconcile Cash Against Telemetry on Every Service Visit
The single most important habit a vending operator can build is reconciling the cash bag to the meter reading on every service visit. This is what catches theft, jammed bill validators, faulty coin mechs, and — embarrassingly often — bookkeeping mistakes.
Modern vending machines speak a protocol called DEX (Data Exchange) that exposes audit counters: how many of each item have been sold, the total cash collected, total cashless transactions, and total free vends. A telemetry device — Nayax, Cantaloupe, 365 Retail Markets, Parlevel, and similar — reads DEX over a cellular connection and pushes the data to a dashboard you can see from anywhere.
A clean reconciliation looks like this on every visit:
- Read the DEX cash counter delta since the last service. Call this "expected cash."
- Pull the bills and coins from the machine. Count them. Call this "actual cash."
- The variance should be zero. A persistent positive variance (more cash than DEX says) usually means the machine vended free product (door-test or test mode left running). A negative variance (less cash than DEX says) means short bills, a jammed validator, or theft.
- Record both the expected cash and the actual cash. Book the variance to a separate account (e.g., Cash Over/Short) tagged to the machine. Do not silently wash it into sales.
- Reconcile the cashless side the same way. The DEX cashless counter delta should match the deposits coming from your card processor for that machine, less processing fees.
Over the long run, a healthy machine has a near-zero cumulative Cash Over/Short balance. When one machine starts running a chronic shortage, that is your signal to swap a bill validator, audit the route driver, or have a difficult conversation with the site contact. None of those signals are visible without per-machine reconciliation.
Recording Site Commissions Correctly
Site commissions trip up more vending operators than any other expense category. The mistake is to net the commission against the deposit — for example, recording $400 of gross sales as $340 of net sales after the location takes its 15%. That hides the gross sales line you need for sales-tax filing and makes COGS percentages look worse than they really are.
The right way:
- Gross sales go to Vending Sales at the full retail price collected.
- Commission paid goes to Site Commissions Paid as an expense, tagged to the same machine.
- If you pay the site monthly by check or ACH, accrue the commission at the end of each month based on that month's vended sales, even if the actual payment goes out later. That keeps machine-level P&L on accrual basis and stops a December sale from showing up as a January expense.
For a percentage-of-sales arrangement, the math is simple: multiply gross sales for the period by the contract percentage. For a flat-fee arrangement, divide the fee by the month. For tiered or revenue-share contracts, write the formula into a spreadsheet next to the contract scan so you never have to recompute it from memory.
One more nuance: in some states, commission paid to the site is not deductible against sales tax owed. Sales tax is computed on the gross retail price, not on what you net after commission. Mixing up the two will quietly underpay your sales tax for years until an auditor finds it.
Cost of Goods Sold, Done at the Machine Level
COGS is the single biggest expense in vending, and it is also the one operators most often guess at. The clean way to track it on a route is to cost each restock at the moment you load the machine.
A practical workflow:
- Pull product from your warehouse onto the truck. Note what you take. This is "warehouse-to-truck" inventory movement.
- At each machine, restock from the truck. Note what you load into each machine. This is "truck-to-machine" movement.
- Cost each item using the last-in average wholesale cost from your purchase invoices — including sales tax paid on the wholesale purchase if you cannot recover it.
- Book the loaded value to COGS tagged to that machine on the date of service.
Over time the warehouse, the truck, and each machine all carry an inventory balance. Periodic physical counts — typically quarterly — true those balances up against the books, with the shortage going to Spoilage / Shrinkage tagged to whatever stop it was reasonable to assign it to.
For very small one-person operations, a simpler proxy is acceptable: assume the cash collected at a machine consumed product at a flat ratio (for example, 50% COGS). This is fast and gives you usable margin numbers. Just understand that it cannot detect a machine where you are stocking $4 protein bars that sell for $3, and it makes it impossible to spot real shrinkage. Most operators move to per-restock costing within their first year for that reason.
The Cashless Side: Processor Statements Are Not Sales
When you add credit card or mobile wallet acceptance to a machine, the deposits that hit your bank are not your sales. They are sales minus processor fees minus chargebacks minus any rolling reserves the processor holds. Booking the deposit as revenue is one of the most common bookkeeping errors in modern vending.
The clean entry for each processor settlement looks like:
- Debit Bank Account (the actual deposit you received)
- Debit Cashless Processing Fees (the fees withheld)
- Credit Vending Sales — Cashless (the gross cashless sales, matching DEX)
If you receive a single batch deposit that covers several machines, split the entry across machines proportionally using the DEX cashless data. Most telemetry platforms can export this split for you; if yours cannot, a small spreadsheet with one row per machine per period is enough.
The same logic applies to chargebacks and refunds — they are negative sales, not just a smaller deposit. Track them in their own account so you can see how often they happen on each machine. Repeat chargebacks at the same location almost always point to a malfunctioning coin return or a misconfigured price.
Measuring True Profit Per Machine
Once the books are organized by machine, you can compute the number every operator actually wants: contribution margin per machine per month. That formula:
Contribution margin = Gross Sales − COGS − Site Commission − Cashless Fees − Direct Maintenance and Parts
Note what is not in that formula: fuel, insurance, your salary, the truck payment. Those are route-level costs. The point of contribution margin is to isolate the part of profit that exists because the machine exists. If contribution margin is negative, the machine is destroying value before you even drive to it. Pull it.
Then layer on a route allocation. Estimate how many hours per month each machine takes to service, multiply by your loaded hourly cost (fuel, vehicle wear, your time at whatever you would pay a driver to do it), and subtract. What is left is the closest thing vending has to a "true net profit per machine."
A useful rule of thumb: any machine producing less than two hours of loaded route cost in contribution margin per month is a candidate for relocation or removal. Operators who run this report quarterly typically prune ten to twenty percent of their fleet a year — and the route they are left with is dramatically more profitable than the one they started with.
Sales Tax and Income Tax: Don't Wait Until April
Vending sales tax rules are state-specific and surprisingly inconsistent. Some states tax all vending sales at the standard rate. Some exempt food items below a certain price. Some have a special "vending machine sales tax" rate that differs from the general retail rate. A few make the operator (you) the tax-remitter and a few make the site owner responsible, depending on the contract.
What you need to track in your books, regardless of state:
- Taxable sales separated from non-taxable sales per machine
- Sales tax collected, accrued as a liability — never as income
- Local jurisdiction codes for each machine, because a machine in city A and a machine in city B may have different rates
For federal income tax, vending machines are typically depreciated under MACRS over five to seven years, or fully deducted in the year of purchase under Section 179 if you qualify. Mileage to service the route is deductible at the IRS standard rate per mile, but only if you keep a contemporaneous log — a vague "I drove a lot" estimate at year-end gets disallowed in an audit. Telemetry subscriptions, cashless processing fees, repairs, insurance, and site commissions are all ordinary deductible expenses.
Accurate bookkeeping from day one is what makes tax season a thirty-minute conversation instead of a panicked weekend in March. Sales tax and depreciation are the two areas where vending operators most often leave money on the table — or pay penalties — purely because the underlying records were not clean.
A Practical Monthly Close for a Vending Route
If all of this sounds like a lot, here is the minimum routine that keeps a small route honest:
- After each service visit — record cash collected, DEX-expected cash, variance, products loaded (at cost), and any maintenance done, all tagged to the machine.
- Weekly — reconcile cashless deposits against the processor statement; book fees; check for chargebacks.
- Monthly — accrue site commissions; review Cash Over/Short by machine; close the month and produce a per-machine contribution-margin report.
- Quarterly — physical inventory count at warehouse and truck; trial balance review; pull the bottom 10% of machines by contribution margin and decide whether to optimize, renegotiate, or relocate.
- Annually — depreciate machines; file federal and state returns; review the route as a portfolio and reset goals for the year.
Each of these steps becomes nearly automatic once the chart of accounts and tagging conventions are in place. The first month is hard. The third month is routine.
Keep Your Route's Finances Plain and Auditable
A vending route runs on cash, telemetry, and small margins. The operators who scale are the ones who treat their books the same way a software engineer treats production code: structured, version-controlled, and human-readable.
Beancount.io brings that mindset to small-business accounting. Your entire ledger lives in plain text, every transaction is auditable line-by-line, machine and location tags give you the per-asset slicing this guide describes, and there is no proprietary database holding your data hostage. Get started for free and see why operators who care about the integrity of their numbers are moving to plain-text accounting — or read more about the dashboard and how it works before you decide.