Sub topic 3
Building the quote: line items, discounts, tax, total
This chapter assumes you have your unit prices, your discount limit, and the tax rate that applies to the buyer. A price quote lists what the buyer will pay. Each line item names one product or service, its quantity, and its unit price. The subtotal is the sum of the line items. The discount applies to the subtotal, tax applies to the net amount after the discount, and the total is the net plus tax.
Calculate money with Decimal, not float, so rounding errors do not change the total.
from decimal import Decimal, ROUND_HALF_UP
def money(value):
return value.quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
line_items = [
("Platform license (per user, annual)", 50, Decimal("120.00")),
("Onboarding package", 1, Decimal("2500.00")),
]
discount_rate = Decimal("0.10")
tax_rate = Decimal("0.08")
subtotal = sum(Decimal(qty) * price for _, qty, 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)}")Running this prints a subtotal of 8500.00, a discount of 850.00, a net of 7650.00, tax of 612.00, and a total of 8262.00.
Terms, assumptions, and validity period
State a validity date, payment terms, and the assumptions the price depends on, such as user count and start date. If the buyer adds 20 users after signing, the quote changes by the stated unit price. Writing this down protects both sides.
> callout
Internal review and approval
Check the net price against delivery cost and your minimum margin before sending. Route any discount beyond your limit to the approver.
Sending the document and following up
Send the proposal and quote together as one package. Follow up before the validity date expires, and record each response in the deal notes.
Handling objections and revised quotes
When the buyer objects to price, change the scope or the terms rather than cutting the unit price. Issue a new numbered revision, and mark the old one as superseded so only one current price exists.
Common mistakes and a final checklist
| Mistake | Check before sending |
|---|---|
| Tax applied before discount | Tax is calculated on the net amount |
| Rounding done per line | Round only the discount and tax values |
| No validity date | A date and currency are on the quote |
Exercise
A quote has 10 licenses at 200.00 each and a 5% discount. Tax is 10% on the net amount. What is the total?
Show answer
Subtotal is 2000.00. Discount is 100.00, so net is 1900.00. Tax is 190.00. Total is 2090.00.