How do I edit, add or remove line items on an expense or income?

Open the Lines tab on the web, or Edit line items in the mobile app, to change a line's Category, amount, quantity, unit price or type (such as Tip), post a line to a ledger account, insert a new line, split a line, merge lines, or remove one.

ST
Written by SparkReceipt TeamUpdated Nov 24, 2026

Every expense and income in SparkReceipt is made of line items. You can change any line by hand: its name, amount, Category, quantity, unit price and line type (for example Item, Tip or Discount). The owner, admins and Accountants can also post a line to a ledger account. You can also insert new lines, split a line in two, merge several lines into one, and remove lines you don't want. On the web, open the document and click the Lines tab. In the mobile app, open the document and tap the list icon next to the totals to open Edit line items. Changes on the web are saved as you type.

Open the line items

On the web: open the expense or income and click the Lines tab. The tab shows how many lines the document has. Each row shows the line's name, its Category, its amount and its tax.

In the mobile app: open the document and tap the list icon next to the totals. The Edit line items screen opens. When a document's lines have different Categories, the Categorization section also has an Edit lines button that opens the same screen.

Change the Category line by line

On the web: on the Lines tab, click the Category shown under a line's name and pick a new one.

In the mobile app: tap a line, then pick its Category in the line editor and tap Accept.

On an Expense, a discount, shipping or fee line that took its items' Category at the scan moves along when you change an item's Category. To keep such a line where it is, pick a Category on that line yourself. Other lines keep their own Category. See How do discount, shipping and fee lines get their Category?

To put every line in the same Category at once: on the web, go back to the Details tab and use Categorize all items as... under the Category list. In the app, use Assign all... in the Categorization section.

For how SparkReceipt picks Categories for lines when it scans, see Can SparkReceipt categorize individual line items from my receipts?.

Post a line to a ledger account

In SparkReceipt's general ledger (Ledger in the web app's sidebar), a line can post its net amount to an asset, liability or equity account instead of its Category's account. For example, a pension invoice that clears pension payable, or a loan repayment that lowers the loan. The Category stays on the line for publishing, reports and exports. Only the ledger reads the ledger account.

This works on the web and in the mobile app, for owners, admins and Accountants, on an expense or an income. A fixed asset's purchase and its depreciation expenses can't post to another account, because their lines book what the asset register says. Other roles don't see it.

One line: on the Lines tab, the first chip on each line's second row shows the account the line posts to by its code (or its name when it has no code), whether that's its Category's account or one you picked. Click the chip, or click More, and pick an account under Post to account. A line with its own ledger account shows the account's code and name on the chip. To clear it, open More and click the × beside the account. An account that was archived after you set it still shows, marked (archived), until you change or clear it.

Several lines: tick the lines, open the menu in the header row and choose Post to account. Pick an account to set it on every selected line, or choose Clear the ledger account at the top of the list to clear them all.

The whole document: on the Details tab, Post to account sits under the Category. Picking an account there sets it on every line, and clearing it clears every line. When the lines have different ledger accounts, or only some have one, it reads Differs by line. To change one line, use the Lines tab.

In the mobile app: tap a line and pick an account under Post to account in the line editor. To set it on every line at once, use Post to account under the Categorization section.

Tax and tip lines never take a ledger account, because their amount follows the lines they belong to. On the web, the adjustment line can take one like any other line. Only asset, liability and equity accounts are offered: income and expenses go through the Category. If SparkReceipt can't use the account, it says why (on the Lines tab, under the line too) and the lines keep the accounts they had.

Insert a new line

On the web: click + Insert new line under the lines.

In the mobile app: tap Add (the plus icon) at the top of Edit line items, fill in the line and tap Accept.

A new line is always added at the end of the list. Lines can't be dragged or reordered, so you can't insert a line in the middle. The order of the lines doesn't change any totals.

Remove a line item

On the web: on the Lines tab, open the line's menu (the three dots at the end of the row), choose Remove and confirm. To remove several lines, tick their checkboxes, open the menu in the header row and choose Remove.

In the mobile app: long-press the line and choose Delete. To remove several, long-press a line, choose Select multiple..., tap the lines and use Delete in the bar at the bottom.

This works the same on an expense and on an income. Removing a line lowers the document's total by that line's amount. On the web, removing every line leaves one empty line in their place.

Add a tip

A tip is its own line with the line type Tip.

On the web: on the Lines tab, click + Insert new line, type the tip amount, then click More on the line and choose Tip under Line kind.

In the mobile app: tap Add in Edit line items, tap the line type at the top of the line editor, choose Tip, type the amount and tap Accept.

The tip counts toward the document's total. On the web, the totals then show a Tip rate row with the tip as a percentage of the amount before tip and tax. A document marked as a refund can't have a tip.

The other line types work the same way: Item, Tax, Tip, Adjustment, Shipping, Discount, Refund, Fee and Other.

Quantity and unit price

Each item line can carry a Quantity and a Unit price. On the web, click More on an item line to set them. Once set, they show as a chip on the line's second row as quantity @ unit price. In the app they are separate fields in the line editor. Both are for reference only: they don't change the line's amount or the document's totals. The full details are in Can SparkReceipt categorize individual line items from my receipts?.

Merge lines into one

On the web: tick the lines you want to combine (or tick the checkbox in the header row to select every line), open the menu in the header row and choose Merge lines. SparkReceipt says how many lines will become how many, and merges them when you choose Merge.

Lines are merged only with other selected lines that are booked the same way: the same Category, line type and tax rate, and the same ledger account, QuickBooks Class, Xero tracking and tax code where you use them. So selecting every line and merging leaves one line for each Category and tax rate. Lines with different tax rates are never combined, so your VAT or GST figures stay correct.

The merged line takes the place of the first selected line in its group. Its amount and its tax are the sums of the merged lines, so the document's subtotal, tax and total don't change. It is named after its Category (or keeps the first line's name if the lines have no Category), and its quantity is set to 1. The merged lines' own names, quantities and unit prices are not kept. Tax lines and the adjustment line are never merged.

In the mobile app: there is no merge. To merge lines on a phone, open the document on the web, or set up an automation that merges lines when documents are scanned.

Split a line into two

In the mobile app: long-press the line and choose Split. Choose how much of the original line moves to the new line, and use Split into category to give the new line its own Category. The two lines together keep the original amount.

On the web: there is no split for a single line. Lower the amount on the original line, then click + Insert new line and enter the rest on the new line.

Splitting a tax line into components (for example GST and PST) is a different action: Split tax line on the web, Split tax into components in the app. See Can I split the tax rate for different tax %?.

When a tax line repeats the line items' tax

Sometimes a document has a separate tax line while its line items already carry the same tax, for example when the scan read the tax twice. The document's total then counts that tax twice. Publishing leaves such a tax line out, so your accounting software gets a different total from the one SparkReceipt shows.

SparkReceipt warns you when this happens. On the web the warning sits above the line items in the Lines tab. In the mobile app it shows below the document's totals. It names the tax line, for example The tax line “VAT” repeats the tax that's already on the line items, so the total counts that tax twice.

  • Remove tax line in the warning takes the repeated tax line out in one go. After that, the total in SparkReceipt matches what publishing sends.
  • When an adjustment line takes the repeated tax back off the total, the warning says so and the button reads Remove tax line and adjustment. It removes both lines.
  • If you can't edit the document, the warning shows without the button.

A tax line can also carry a short note of its own when a line item has its own tax of the same kind: A line item has its own tax of the same kind. If this tax line repeats that tax, remove this tax line so the tax isn't counted twice. When an adjustment line cancels that tax line, the note asks you to check the split instead: One or more line items carry their own tax, and this tax line and its adjustment line hold the rest of the receipt's tax. Check how the tax is split before you remove anything. Removing those two lines could drop tax that belongs on the receipt, so compare the tax on the line items with the tax on the receipt first.

When a line's tax is more than its total

A line whose tax is larger than its total is almost always a typo, for example 4,444.00 of tax typed on a 200.00 line. SparkReceipt shows a warning on such a line: The tax on this line is more than its total. Check the amounts. On the web it shows under the line on the Lines tab. In the latest version of the mobile app it shows on the line in Edit line items and under the amounts in the line editor. If you don't see it there, update the app. Correct the tax or the total and the warning goes away.

The warning only asks you to check. SparkReceipt still saves the line and doesn't change any amount for you. A refund or credit line is read the other way round: a total of -200.00 with -40.00 of tax is fine, and -4,444.00 of tax on it gets the warning. A line whose tax equals its total, such as a standalone tax line, and the adjustment line never get it.

Count only some lines of a receipt

A document's total is always the sum of all its lines. There is no switch that keeps a line on the document but leaves it out of the total. You have three options:

  • Remove the lines you don't want counted. The document's total goes down by their amount.
  • Move them to a separate document. On the web, open the document's actions and choose Split document. Move the lines you don't want counted to the new document, then trash it or move it to another linked account. The original keeps everything you don't move. This needs at least two files or lines on the document.
  • Filter by Category. When you filter the Documents list by Category, only the lines in those Categories count toward the total. That includes a tip, shipping or fee line that has one of those Categories. A line with no Category is left out. In an Excel or CSV report, the summary totals under a Category filter count only the item lines in those Categories.

For a receipt that is partly business and partly personal, see Can I separate business and personal expenses?.

Is there a calculator in the line items?

No. The amount fields in the line items don't do math, so typing 9.50*2 or a formula into a cell won't work. Work the number out first and type the result. The document's subtotal, tax and total update on their own when you change a line.