Skip to content
Money · 20 articles

Anatomy of an order's money

See every line that makes up an order, the totals built from them, and a worked example of who ends up with what.

Applies to Admin panelStorefront websiteCustomer appVendor appDriver app

An order is a list of money lines. Three totals are built from those lines, and each total answers a different question. This article defines the lines and the totals, then follows one example order to the end.

How it works

The lines

An order is one customer’s cart at one seller. A customer who buys from three sellers places three orders, with three delivery fees and three service fees.

Line What it is
Items Each item’s price plus its chosen add-ons.
Delivery fee A flat fee for the delivery zone. Pickup orders have none. It belongs to whoever delivers: the marketplace when your own drivers deliver, the seller when they deliver with their own staff.
Service fee Your flat fee per order, if you charge one.
Tax Only when your tax is set to Added at checkout. With Included in prices there is no tax line.
Promotion At most one discount. Each discount says who pays for it: the marketplace, the seller or a split. Free delivery is a discount equal to the delivery fee. The delivery fee line stays.
Referral discount A discount from your referral program, paid by the marketplace. Never together with a promotion.
Wallet credit Credit the customer chose to spend. It pays for items only.

The totals

Total How it is built What it is for
Order total Items + delivery fee + service fee + tax added at checkout, minus the discount, minus wallet credit What the customer still has to pay. The driver collects this in cash. Customers and sellers see it as “Total”.
Customer spend Order total + wallet credit What the order was worth to the customer. Used in the Customer insights report.
Seller sales The items after the part of the discount the seller pays for, plus the delivery fee only when the seller delivered The seller’s side of the order. Commission, payout due and the sales reports use it.

Seller sales leaves out the service fee and tax added at checkout. Wallet credit and the part of a discount the marketplace pays for are counted in, because the seller is paid for them. On an order your own drivers deliver, the delivery fee is the marketplace’s and is not in seller sales. Seller sales includes tax that sits inside prices when your tax is Included in prices. What “seller sales” means has the full definition.

Three more figures come from seller sales:

  • Commission is seller sales multiplied by the commission rate. The commission base only matters on orders the seller delivered: with Item subtotal only, the seller’s delivery fee is taken out first. See How commission is calculated.
  • Payout due is seller sales, minus commission, plus tax on the seller’s items when that tax was added at checkout. See What sellers are owed.
  • Marketplace earnings is commission plus the service fee, plus delivery fees minus what drivers earned for them, minus what the marketplace paid toward discounts. A driver earns the whole fee, so the delivery part is usually 0.

The example order

The same order is used across the money articles. Its numbers are made up.

  • Items: 200.00
  • Promotion: 10% off, so 20.00 comes off the items. The seller pays for it, as with a discount the seller created.
  • Delivery fee: 25.00. One of your own drivers delivers.
  • Service fee: 15.00
  • Tax: 14% on items, delivery fee and service fee
  • Commission: 12%, on the base Item subtotal plus delivery fee. On an order your driver delivers, both bases give the same commission.
  • Paid in cash on delivery. No wallet credit.

The example with tax added at checkout

Tax is worked out on each part after discounts.

Part Taxed amount Tax at 14%
Items 200.00 - 20.00 = 180.00 25.20
Delivery fee 25.00 3.50
Service fee 15.00 2.10
Tax line   30.80
Figure Sum Amount
Order total 200.00 + 25.00 + 15.00 + 30.80 - 20.00 250.80
Seller sales 200.00 - 20.00 180.00
Commission 180.00 x 12% 21.60
Payout due to the seller 180.00 - 21.60 + 25.20 183.60
Driver’s earning The delivery fee 25.00
Marketplace earnings 21.60 + 15.00 + (25.00 - 25.00) 36.60
Tax held by the marketplace 3.50 + 2.10 5.60

The four shares add up to the order total: 183.60 + 25.00 + 36.60 + 5.60 = 250.80.

Who ends up with what:

  • The customer pays 250.80 in cash.
  • The driver collects 250.80 and earns the delivery fee, 25.00. The cash stays with the driver until they hand it over and you record the deposit.
  • The seller is due 183.60. That includes 25.20 of tax on their items, which is theirs to remit. The delivery fee is not in it.
  • You keep 36.60 and hold 5.60 of tax that you owe to the tax authority.

The example with tax included in prices

Nothing is added to the total. The product reports how much of each part is tax: the part multiplied by 14 and divided by 114.

Part Amount Tax inside it
Items 180.00 22.11
Delivery fee 25.00 3.07
Service fee 15.00 1.84
Tax inside the total   27.02
Figure Sum Amount
Order total 200.00 + 25.00 + 15.00 - 20.00 220.00
Seller sales 200.00 - 20.00 180.00
Commission 180.00 x 12% 21.60
Payout due to the seller 180.00 - 21.60 158.40
Driver’s earning The delivery fee 25.00
Marketplace earnings 21.60 + 15.00 36.60

The shares add up to the order total: 158.40 + 25.00 + 36.60 = 220.00. The customer pays 220.00 in cash. The driver collects 220.00 and earns 25.00. The reports show 22.11 as tax collected for sellers and 3.07 + 1.84 = 4.91 as tax held by the marketplace. Those amounts are inside the figures above, not on top of them.

If the marketplace pays for the discount

Take the order with tax added at checkout, but with the promotion set to The marketplace. The customer still pays 250.80 and the tax does not change. The 20.00 is added back to seller sales.

Figure Sum Amount
Seller sales 180.00 + 20.00 200.00
Commission 200.00 x 12% 24.00
Payout due to the seller 200.00 - 24.00 + 25.20 201.20
Driver’s earning The delivery fee 25.00
Marketplace earnings 24.00 + 15.00 - 20.00 19.00
Tax held by the marketplace 3.50 + 2.10 5.60

The shares still add up: 201.20 + 25.00 + 19.00 + 5.60 = 250.80. The seller is paid as if there were no discount, and the 20.00 comes out of what you keep.

If the seller delivers

Take the order with tax added at checkout, delivered by the seller’s own staff. The delivery fee is the seller’s, so it stays in seller sales: 180.00 + 25.00 = 205.00. This is the one case where the commission base changes the result.

Figure Item subtotal plus delivery fee Item subtotal only
Commission at 12% 205.00 x 12% = 24.60 (205.00 - 25.00) x 12% = 21.60
Payout due to the seller 205.00 - 24.60 + 25.20 = 205.60 205.00 - 21.60 + 25.20 = 208.60
Marketplace earnings 24.60 + 15.00 = 39.60 21.60 + 15.00 = 36.60
Tax held by the marketplace 5.60 5.60

Each column adds up to 250.80. The seller’s staff collect the 250.80 at the door, so the seller already holds it. They owe you your earnings plus the tax you hold: 45.20 on the first base, 42.20 on the second.

Good to know

  • The delivery fee belongs to whoever delivers. On an order your own drivers deliver, it pays the driver. It is not in seller sales, it is not charged commission and it is not in payout due, so there is nothing to take off by hand. On an order the seller delivers, it is inside seller sales and payout due.
  • A discount lowers seller sales only by the part the seller pays for. The part the marketplace pays for is added back, so commission and payout due are worked out as if it had not been discounted. Referral discounts are paid by the marketplace.
  • Free delivery on an order your drivers deliver costs you the fee. The driver is still paid in full and no customer paid it. It is counted with the discounts you paid for in marketplace earnings.
  • Wallet credit is a way of paying, not a discount. It lowers the order total but not seller sales.
  • Each tax part is rounded to at most 2 decimals, so the tax charged can differ by one minor unit from the rate applied to the whole total.
  • Commission rate, commission base, who the delivery fee belongs to, who pays the discount, the service fee and tax are fixed on the order when it is placed. Changing a setting later does not change past orders.

Still stuck? Ask a person.

Tell us what you were trying to do and what happened. We answer by email.

Email hello@upzaar.com Use the contact form