Commercial primitives
Payment terms, UoM and pricelists — one engine for sales, purchasing and invoicing.
Commercial primitives
Three configuration engines live under Settings and Sales and are called from orders and invoices.
Payment terms
A term is an ordered list of lines. Each line is percent or fixed cents, with a delay (days, days_after_month_end, day_of_month). compute_payment_schedule returns integer cents; the last line absorbs rounding so the parts sum to the invoice total. Overdue is the earliest unpaid schedule line; due_at is kept in sync with that date.
Units of measure
Categories are unit, weight, length, time and volume. Conversion is refused across categories. Rounding is HALF-UP to the target unit precision.
A product picks its unit from this list. A unit added from the product form's picker is filed under unit at a 1:1 ratio — add weight, length, time and volume units here, where the category and the ratio are set. A unit's category cannot be changed afterwards.
Fiscal positions
Fiscal positions moved to Finance › Tax and compliance › Fiscal positions (one system: the one the tax engine applies). Settings › Fiscal positions opens that page.
Pricelists
A pricelist has one currency, chosen from the currency registry when it is created (there is no default). Every amount in its rules — a fixed price, a minimum or maximum margin — is in minor units of that currency, and each rule carries the same currency on its own row.
Rules apply to variant, product, category or all (most specific wins), with optional date windows and min qty. A rule is one of:
- Fixed price —
fixed_price_cents, the unit price in minor units of the pricelist's currency. - Discount % —
percentoff the list price. - Formula — the list price plus or minus
percent.
Each can carry min/max margin guards (minor units).
A pricelist only prices products in its own currency. A EUR pricelist asked for a USD product is refused (PRICELIST_CURRENCY_MISMATCH) — even when none of its rules would apply — and nothing is ever converted: there is no exchange rate in the system to convert with. The product's list and cost prices are read with their currency's own number of decimals, so a JPY product priced 1050 is 1050 yen.
Changing a pricelist's currency while it has rules needs the rules entered again in the new currency in the same save (PRICELIST_CURRENCY_CHANGE_NEEDS_RULES). The editor warns that the typed amounts are now read in the new currency, names any amount with more decimals than the new currency has, and saves only after you tick that you restated them.
A rule can apply to all products or to one product (picked in the rule). A rule for a category or a variant, created through the assistant, is shown with its stored target and kept exactly as it is when you save; so are every rule's dates (valid from / to). A discount is 0–100%, a formula -100% or more, and a percent price is rounded half-up, as on a sales line. A margin guard needs the product's cost price: a product without one is refused (PRODUCT_COST_REQUIRED_FOR_MARGIN) rather than priced as if it cost nothing. The cost is read only when a margin guard applies, exactly as stored (to a thousandth of the currency's smallest unit), so a cost such as EUR 0.1234 never stops a product from being priced; when a guard sets the price to cost plus margin and that falls between two cents, it is rounded once with your organisation's rounding policy.
Pricelists are created, edited and deleted in Sales ▸ Price lists (New and each pricelist open the price list editor). The generic Sales configuration screen links there; it no longer creates, renames or deletes a pricelist itself. If the currency list cannot be loaded, the editor still shows the pricelist, read-only, and says why.
Try a price (in the editor of a saved pricelist) asks what the pricelist charges for a product, quantity and date, and shows the price in its currency — or the refusal, in your language. Nothing is saved.
Ask the Concierge: “what's the price for this product for this customer” (explain_price), or “what does the Retail USD pricelist charge for this product” (resolve_price with pricelist_id).