Skip into the price book
MarkupYard

Service prices, explained

2 books figures set gross profit: $1,398 less $866.76

Job costing

Documentation checked

How these guides are made

MarkupYard Editorial Team · Published · 11 min read

Gross profit on a sold job is the sales amount minus the cost posted at delivery, checked after both events post. In the worked case, sales of $1,398 less cost of goods sold of $866.76 gives $531.24, ignoring tax and other costs.

  • the sales figure is the invoice amount; it arrives when the invoice posts
  • the cost figure posts when the Delivery Note posts, not at invoicing, so check margin only after both events have posted
  • the costing method decides which inventory layer flows out, which can shift the cost figure while the sale price stays fixed
  • the assignment rule must be objective and consistent, or cross-period margin comparisons will not hold
  • if margin reads wrong after billing, confirm both events posted, the invoice amount, the cost figure, the inventory layer used, and that the rule has not drifted

Gross profit is two numbers on your books, and you check them after billing

You check margin after the invoice goes out, and that habit is sound. The two figures you need are already sitting in your books once the sale posts. One is what the customer is billed. The other is the cost that moved out of inventory. Subtract one from the other and you have the gross profit for that job.

In the case we carry through this post, a manufacturer sells two finished phones to Cedar Commerce for $699 each, for a total selling price of $1,398. The cost side comes out at $866.76. Ignoring tax and other costs, the gross profit visible from these two events is $531.24: sales of $1,398.00 less cost of goods sold of $866.76, both figures drawn from the Frappe selling cycle page .

We will work that pair of figures through the whole post: where each one lands in your books, why the cost shows up at delivery rather than at invoicing, how inventory costing choices shift the cost figure, and what to look at when a job's margin looks wrong after you bill it.

Where the sales figure comes from

The sales figure is what the customer is billed, and it arrives in your books when the invoice posts. Cedar Commerce is billed $1,398 for the two phones. In this case the invoice stays at $1,398. It is the top line of the margin check you run.

Accounting textbook author OpenStax notes that "The direct benefit is that the product will be sold and the revenue recognized" ( OpenStax, Principles of Accounting, Volume 2 ). For an owner running the books, the practical reading is that the sale becomes real in your accounts at a defined event, not at the moment you shake hands.

Keep the sales figure clean. It is the invoice amount. In this case it is $1,398, and nothing about the cost side touches it. If you see a job's margin move after billing and the invoice amount has not moved, the change came from the other figure in the pair.

Where the cost figure comes from, and why it posts at delivery

The cost figure posts when the delivery note posts, not when the invoice posts. That timing is the whole reason owners are sometimes surprised by a job's margin right after billing. Frappe's documentation states the point plainly: "That is why the Delivery Note posts $866.76 even though the customer will be invoiced $1,398."

Read that sequence carefully. The cost leaves inventory at delivery. The billing happens after. Between those two events, your books hold a cost with no matching invoice — a normal state in this cycle, and the reason your margin check should be run after both events have posted.

For Cedar Commerce, both events have posted by the time you check. Sales sit at $1,398. Cost of goods sold sits at $866.76. The gap between them, $531.24, is the gross profit visible from these two events, ignoring tax and other costs.

If you check margin before the invoice posts, you will see the cost with no matching revenue. The number will look alarming. Wait for both events.

The two-figure comparison at a glance

Here is the pair laid side by side, so you can hold the amounts in view as you read the sections that follow.

Figure Amount in this case Event that posts it
Sales (invoice) $1,398 Invoice posts
Cost of goods sold $866.76 Delivery Note posts
Gross profit (difference) $531.24 Visible once both events post

Both of the first two rows come from the Frappe documentation. The third row is that documentation's own arithmetic on those two figures, ignoring tax and other costs.

Why the cost figure moves even when the sale does not

The sales figure for Cedar Commerce is $1,398 on the invoice that bills Cedar Commerce. The cost figure is the one that can shift, and it shifts for reasons that live inside your inventory accounting, not inside your pricing.

OpenStax's financial accounting text explains what the cost figure is doing at period end: "The adjustment ensures that only the inventory costs that remain on hand are recorded, and the remainder of the goods available for sale are expensed on the income statement as cost of goods sold" ( OpenStax, Principles of Accounting, Volume 1 ).

That sentence carries a direct lesson for your margin check. The cost that lands on this job is whatever the costing method assigns to the units that left the warehouse. If your method assigns a different cost than the one you remembered when you priced the job, your margin will read differently than you expected — and the sale price will not have moved at all.

One costing choice shows the effect clearly. OpenStax's Volume 1 chapter also walks a periodic LIFO allocation, reporting that "The gross margin, resulting from the LIFO periodic cost allocations of $9,360, is shown in Figure 10.10." That example assigns cost at the close of the period rather than at delivery, so its timing differs from the Delivery Note posting, yet it still shows the costing method choosing which cost figure flows out. The figure in that passage belongs to a different worked example, but the principle carries: the costing method picks which layer of inventory cost flows out, and that choice lands directly in the cost of goods sold figure you subtract.

In plain terms for your desk: if you buy the same part at three different prices over a quarter, the method you use decides which of those three prices becomes the cost on this job. Your sale price stays the same. Your gross profit changes.

Objective and consistent assignment, in plain words

The reason to care about method is not academic. OpenStax puts the governing idea in one line: "The assigning of expenses to a product or time period must be done in an objective and consistent manner" (same Volume 2 chapter).

Objective means the assignment follows a rule you could hand to someone else and they would reach the same figure. Consistent means you apply that same rule next month and next quarter. When both hold, your month-over-month margin comparisons mean something.

When they do not hold, a job can look more profitable than it is because the cost side was assigned loosely, or less profitable because a heavier cost layer was pushed onto it. The sales figure does not rescue you here. $1,398 is $1,398. The check you are running after billing depends entirely on the rule behind the $866.76 figure.

So the practical question at your desk is simple. Know the rule. Apply it the same way every time. Then the difference between your two figures tells you something real about the job.

Working the case from sale to margin

Let us walk Cedar Commerce from start to finish, in the order the events post.

The manufacturer agrees to sell two finished phones at $699 each. The sale total is $1,398. Delivery happens. The Delivery Note posts the cost of the units that left the warehouse: $866.76. The invoice posts afterward, billing Cedar Commerce $1,398.

At that point, both figures sit in your books. Sales of $1,398.00 less cost of goods sold of $866.76 gives $531.24, ignoring tax and other costs. That is the gross profit visible from these two events.

Now run your check the way you normally would. Pull the job. Confirm the invoice amount. Confirm the cost posted at delivery. Subtract. If the two numbers match what you expected when you priced the job, move on. If they do not, the reason is in one of three places: the invoice amount, the cost assignment rule, or the timing of the events you are looking at.

Timing is the easy one to diagnose. If the invoice has posted and the delivery note has not — or the reverse — you are comparing a figure to a blank. Wait, then re-check.

Cost assignment is the harder one. That is where the next section earns its keep.

A second worked case: services with no inventory cost

Not every job you bill has a warehouse cost behind it. Frappe's documentation gives a second case: "Assume a service company agrees to perform 20 device-setup sessions for Bluewave Systems at $150 each" (same selling cycle page).

Twenty sessions at $150 gives a sales figure of three thousand dollars, which is 20 × $150. There are no units leaving inventory, so the delivery-side cost that drove the Cedar Commerce case does not appear in the same shape. Your margin check on this job starts from the sales figure and whatever costs you have agreed to assign to delivering the work.

The reason to hold both cases side by side is that they fail differently. In the phone sale, the two figures are posted by two different events, and the gap you check depends on both landing. In the service sale, the sales side is straightforward and the cost side depends entirely on the assignment rule you have set for labor and delivery costs.

Owners who run one rule for goods and a loose habit for services end up comparing margins that were built on different foundations. OpenStax's line about objective and consistent assignment applies to both situations.

What to look at when a job's margin looks wrong after billing

You have billed the job. You pull the margin. It reads worse than you priced it. Work through these in order.

Confirm both events posted. The Delivery Note posts the cost. The invoice posts the sale. If one is missing, the difference you are seeing is a timing artifact, not a margin result.

Confirm the invoice amount. For Cedar Commerce it is $1,398. If the amount on screen differs from what you agreed, stop and reconcile the invoice first. The margin check cannot proceed on an unsettled sales figure.

Confirm the cost figure. For this case it is $866.76. If the figure differs from what you expected when you priced the job, trace the likely causes before concluding anything: a changed purchase unit cost, a wrong posted quantity, a stock adjustment, or a costing-method difference.

Check which inventory layer the units came from. If you carry the same item at several purchase prices, the costing method decides which layer flows out. A heavier layer flows out, the cost rises, and your margin falls without any change on the sales side.

Check that the assignment rule has not drifted. The rule must be objective and consistent. If it was applied differently this quarter than last, your comparisons across periods will not hold.

Worked on Cedar Commerce, each of these checks lands on a figure you can point at. The margin check is not a judgment call. It is two accounting amounts and a subtraction.

Carrying the check across a month of jobs

One job's margin is a snapshot. A month of them is a pattern, and the pattern is where a drifting cost rule shows itself.

Keep the two figures separate in whatever report you read. Sales in one column. Cost of goods sold in another. The difference is gross profit. When you line the jobs up, look for the ones where the sales figure met plan and the margin did not. Those are cost-side events.

In the Cedar Commerce case the margin is $531.24 on sales of $1,398, ignoring tax and other costs. That margin is your reference point for jobs of the same type priced the same way. Deviations from it, when sales held, point at cost assignment.

Do the same for service work. Bluewave Systems' twenty setup sessions at $150 give you a sales figure of three thousand dollars to check your delivery costs against, computed as 20 × $150. The structure of the check is the same: confirm what was billed, confirm what was assigned, subtract.

Across a month, the questions stay small and concrete. Did both events post for each job? Does each invoice amount match what was agreed? Does each cost figure follow the same rule as the last one? Where a margin moved and sales did not, what changed on the cost side?

Questions this pair of figures cannot answer on their own

The two-figure check tells you gross profit for a job after billing. It does not, on its own, tell you why a specific overhead allocation landed where it did on a product line — that depends on the overhead rate and allocation base your business has set, and the sources for this post do not set those for you. If you need that resolved, raise it with your accountant, who can read your own overhead rate and base against the job in question.

What the check does give you is firm ground for the part you own: confirming that the sale and the cost posted, and that the difference between them is the figure you expected. Run it after billing, every job, the same way.