Sales
Quotations, sale orders, invoicing, credit notes, and the public quote portal.
Sales
Sale orders move through quotation → sent → confirmed → invoiced (with cancel
branches). Customers are CRM contacts; invoicing and credit notes hand off to
the Invoices module via soft injection.
Dashboard
| Screen | Path |
|---|---|
| Overview / list | /dashboard/view/sales.sale_order_act_window (also /dashboard/sales, /dashboard/sales/orders) |
| New quotation (guest view) | New on the act_window (one line). Full lines: /dashboard/sales/new |
| Order detail | /dashboard/sales/[id] — UUID or SO-##### |
| Full editor | /dashboard/sales/[id]/edit |
| To invoice | /dashboard/sales/to-invoice |
| Public portal | /[lang]/quotes/[token] |
The order has one customer picker (ContactPicker + Create over every org contact). The invoice and delivery contacts are the customer and follow it when it changes; the API and the Concierge can still set them apart.
Currency is a picker. Number, stage and total appear once the order is saved.
Margins on order/line views require sales:margins:read.
API (authenticated)
| Method | Path | Notes |
|---|---|---|
| POST | /sales/orders/:id/invoice | mode: balance | down_payment. Delivered-policy first mint stays confirmed until ordered qty is billed; a later delivery can be invoiced. |
| POST | /sales/orders/:id/send-mail | Emails portal link |
| POST | /sales/orders/:id/credit-note | Links original_invoice_id |
| POST | /sales/expire-quotations | Cancels overdue quotes |
| POST | /sales/orders/:id/reprice | "Update prices": re-price a quotation's catalogue lines from its pricelist (pricelist_id optional). 409 SALE_REPRICE_LOCKED once confirmed |
| GET | /sales/report | Analysis by group_by day / month / stage / region / salesperson / customer / product; one row per currency; margin with sales:margins:read |
| POST | /sales/orders/:id/cancel | 409 SALE_CANCEL_HAS_INVOICES while the order is invoiced — credit the invoices first |
API (public)
| Method | Path | Notes |
|---|---|---|
| GET | /public/quotes/:token | Read quotation |
| POST | /public/quotes/:token/accept | Body: { signer_name }. Confirms the order exactly as a salesperson would (delivery, reservations) |
| POST | /public/quotes/:token/decline | Body: { reason? }. Cancels the quotation |
Pricelists and reporting
- Pricelist on the order. The order form's Pricelist picker defaults to the customer's pricelist. A product line with no price (the order form's price left empty, the Concierge, the API) is priced from it; a price that is typed — 0 included, a free line — is kept as typed. Update prices on a quotation re-prices every product line (typed prices are replaced), and is refused, naming the product, when a product is priced in another currency than the order (prices are never converted). Concierge: "Re-price SO-00042 with the Wholesale pricelist."
- Stock on confirm. Confirming does not check stock by default — the delivery waits and ships as a backorder. Turn on Only confirm orders that are in stock (Sales › Configuration › Order settings › Order options) to refuse instead. Consumable products are never stock-checked. Changing it needs the right to configure Sales as well as settings.
- Default sales tax. On the same page, Default sales tax is the tax a new quotation line takes when it has none of its own: no tax picked on the line, and its product has no sales tax (a free-text line, for example). It never changes lines that are already saved. For a line that must stay untaxed (an export, a reverse-charge sale), pick a 0% tax on that line. With no default set, a line without a tax is flagged on the order, and again in the Send dialog before the quotation goes out. Choosing the default needs access to Finance's taxes.
- Reporting (
/dashboard/sales/reporting) counts confirmed and invoiced orders only, one currency at a time, with sales by product and margin. Concierge: "Best-selling products this quarter, with margin."
Cross-token / wrong org-tenant re-read returns 404.
See project-source-of-truth/modules/sales.md for the full contract.
description: Quotations, sale orders, and invoicing from confirmed orders.
Draft — needs review. First-pass user guide generated from the module documentation. Check flows and Concierge phrasings against the live dashboard before treating this page as canonical.
Purpose
Sales is the quotation-to-order spine: send a quotation, confirm it into a sale order, then invoice. Lines carry quantity, price, and discount; service delivery can roll up from approved timesheets.
Open Sales from the launcher (/dashboard/sales). Bank accounts for the org live under Sales configuration, not as a separate module tile.
Main flows
- Create a quotation. Pick a customer, add product or service lines, send it. Picking a product fills the line's description and price (the price only when the product is in the order's currency). A new line's price starts empty: left empty, the line takes the catalogue price when the order is saved, and a product priced in another currency is refused, naming it — type its price in the order's currency instead. Type 0 for a free line. A product that is not in the catalogue yet: type its name in the line's picker and choose Create "…" — the product form opens with that name and the order's currency; saving brings you back to the order with the product on the line, and Cancel or the breadcrumb brings you back to the order as you left it.
- Confirm. Turn an accepted quotation into a sale order. An order with a recurring plan also starts a subscription that bills it again every period from the second one on (the order's own invoice bills the first) — see Subscriptions. Stop renewal on the order ends it.
- Deliver / invoice. Record delivery and raise invoices from the confirmed order. An invoice is due on the order's payment term: its own schedule decides the date (Net 60 is due 60 days after the invoice, Immediate on the day, "30% advance + balance net 30" when the last part is due). A term with no schedule falls back to the customer's own payment days, then 30 days.
- Configure. Manage teams, payment terms, and bank accounts used when money is collected. Configuration › Order settings opens on Order options (whether an order may be confirmed without the stock), with the lists an order picks from — recurring plans (each with its billing period), quotation templates — in the rail beside it. An order's fiscal position (Order tab) is one of Finance's (Finance › Tax and compliance › Fiscal positions): left empty it follows the customer (and clearing it on a saved order goes back to the customer's); picked, the order and its invoices are priced under it. To apply no swaps on purpose, pick a domestic position.
Concierge phrasings
- "Create a quotation for [contact] for 10 hours of consulting."
- "Confirm quotation SO-014."
- "What is open on this customer's orders?"
- "Invoice the confirmed order for [contact]."