Sub topic 10
Building the Quote: Line Items, Discounts, Tax, and Total
Assume you understand the B2B sales cycle, know your product or service costs, and can calculate percentages. This chapter focuses on turning an approved scope into a quote that the buyer and your finance team can audit.
Start with traceable line items
A line item is one priced component of the offer. Each line should connect to the agreed scope. Avoid vague entries such as “professional services” when you can identify the work more clearly.
A useful quote table includes:
| Item | Quantity | Unit price | Line total |
|---|---|---|---|
| Platform license, annual | 50 users | $120.00 | $6,000.00 |
| Onboarding package | 1 | $2,500.00 | $2,500.00 |
Calculate each line total as:
quantity × unit price = line total
State whether prices are per user, per month, per year, per project, or another unit. If a quantity depends on an assumption, document that assumption near the quote.
Apply discounts and tax in a defined order
A common calculation sequence is:
- Add all line totals to get the subtotal.
- Calculate the discount from the subtotal.
- Subtract the discount to get the net price.
- Calculate tax from the taxable net amount.
- Add tax to the net price to get the total.
For the example above, the subtotal is $8,500. A 10% discount is $850, leaving a net price of $7,650. At an 8% tax rate, tax is $612, so the total is $8,262.
Use the tax rule that applies to the buyer’s location, entity type, and the items sold. Some services may be exempt, while others may require different rates. If tax is not yet confirmed, label the amount as an estimate rather than presenting it as final.
Calculate currency safely
Do not rely on binary floating-point numbers for currency. A value such as 0.1 may not be represented exactly in a computer. Use decimal arithmetic and round according to your finance policy.
from decimal import Decimal, ROUND_HALF_UP
def money(value):
return value.quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
line_items = [
("Platform license", 50, Decimal("120.00")),
("Onboarding package", 1, Decimal("2500.00")),
]
discount_rate = Decimal("0.10")
tax_rate = Decimal("0.08")
subtotal = sum(
Decimal(quantity) * unit_price
for _, quantity, unit_price in line_items
)
discount = money(subtotal * discount_rate)
net = subtotal - discount
tax = money(net * tax_rate)
total = net + tax
print(f"Subtotal: {money(subtotal)}")
print(f"Discount: -{discount}")
print(f"Net: {money(net)}")
print(f"Tax: {tax}")
print(f"Total: {money(total)}")Round at the policy-defined stage. Do not round intermediate values inconsistently across the quote, contract, and billing system.
Make the quote easy to approve
Show the subtotal, discount, net price, tax rate or tax status, and final total separately. Include the currency and whether tax is included. Ensure the quote matches the proposal’s scope, quantities, dates, and commercial terms.
Exercise
A quote has a subtotal of $12,000, a 15% discount, and 7.5% tax applied to the discounted amount. What are the discount, net price, tax, and total?
Show answer
The discount is $1,800. The net price is $10,200. Tax is $765. The total is $10,965.