🏷️ Price lists, customer groups, sales campaigns and discounts
Give wholesale customers their own prices, run dated sales in your shop, discount a whole invoice or give a discount after the sale - and see on Profit by product what every discount cost you.
Until now Erpilo knew one price per product and a percentage you could type on an invoice line. "Wholesale pays 15% less on ceramics", "this distributor pays EUR 8.40 from 50 pieces", "brand X is 20% off in November" and "orders over EUR 1,000 get 3%" all had to be remembered and typed in again on every invoice. Now Erpilo remembers them for you, fills them in, says why, and shows what they cost.
Customer groups and a standing discount
Settings ▸ Customer groups. Put customers into groups such as Wholesale or Distributors: on the customer form, or tick customers on the Partners list and click Put in group. A customer is in one group at a time.
- A group, or a single customer, can carry a discount percentage. Every new line on their invoices starts with it, and the line says where it came from, such as "Customer discount 5%".
- The customer's own discount beats the group's, and 0 means no discount even in a discounted group.
- A group can also have a sales price list, see below.
Sales price lists
Settings ▸ Sales price lists. A price list holds what a group of customers has agreed to pay. Each list has dates, is Draft or Active, and can have a fallback list for anything it does not cover - so a Distributor list can sit on top of a general Wholesale list.
A list is made of rules. A rule picks the products:
- all products, or products picked by hand,
- or products by what they are: a category, a brand, a tag, an attribute such as Material: oak, a variant option such as Size: XL, a supplier, a product group, or goods or services. Products you add later join the rule by themselves.
And it says what they cost: a fixed price, a percentage or amount off, the product's own price plus or minus a percentage, the product's cost plus a percentage, or another list's price plus or minus a percentage. Rules can start from a quantity ("from 50 pieces") and run between dates, and a list can round the prices it works out to whole euros, .90, .99 or 5 cents.
The most specific rule wins. A rule for one product beats a rule for its brand, which beats a rule for its category. Each rule shows how many products it covers.
Give a list to a customer group, to a single customer (whose own list beats the group's) or to a sales channel.
Invoices fill in the right price, and say why
Pick a product on an invoice and it gets what that customer pays: their price list's rule for that quantity, else the fallback list, else the product's own price with their standing discount.
- Change the quantity, the customer or the date and the line is priced again, so 50 pieces can switch to the lower price.
- A price or discount you change by hand stays. Erpilo never prices that line again.
- Each line says why it has its price, such as "Wholesale: 15% off Ceramics, from 10". That is for you only - it never appears on the PDF or the e-invoice.
- A negotiated price is never discounted again by the customer's standing discount.
- A recurring invoice can be told to Update prices on each run. AI assistants drafting an invoice get the same prices.
Price many products at once
- From the product list: tick products, or select everything a filter found, and click Price list. They get one rule together - shown as "40 selected products" - and you can add products to it or take them out later. Filtered by exactly one category, brand or tag? Make the rule on that instead, so new products are covered too.
- See it before you save it. While you edit a rule, a box shows how many products it covers, the price today and with the rule, which products it would sell below cost, and which other rules overlap and which one wins.
- Price check: pick a customer, a product, a quantity and a date and see the price an invoice would get, with every step behind it. Try a draft list before it goes live.
- Spreadsheets: download a price list with each product's code, own price and list price, or upload one. Columns are matched like the product import, and a report shows every new and changed price before anything is saved.
- Turn a rule into fixed prices when a contract must not move: each product keeps today's price, whatever happens to its own price later.
- On the product: the General tab shows, under Pricing & Tax, what each price list charges for the product today, why, and the price from each quantity break, plus any sales campaign that puts it on sale.
Your shops
- A channel's prices from a price list: in Settings ▸ Sales channels ▸ a channel ▸ Prices, pick a price list, so a wholesale portal or a second shop sells at its own prices. Changes reach the shop with the next Send changes.
- Sales campaigns (Settings ▸ Sales campaigns, or tick products and click Put on sale): a dated price cut such as "Kolm Kaske 20% off for Black Friday" - a percentage, an amount off or a fixed price, for products picked by hand or by brand, category, tag and the rest. WooCommerce gets the sale price with its first and last day and switches it on and off itself, and your shop page shows it struck through. A campaign can also price invoice lines for chosen customer groups, but only when it is cheaper than the customer's own price.
- The 30-day lowest price: Erpilo now records every price each channel shows. A product's Sales channels tab shows its lowest price of the last 30 days, and a product whose "was" price breaks the EU and Estonian consumer rule - above the lowest price of the 30 days before the sale, or on offer fewer than 7 days - is named before it is sent.
- Shop coupons are kept: a coupon on a shop order now arrives as a discount on each line, with its code shown on the invoice, instead of being hidden inside the price.
Discounts on the invoice
- A line discount as an amount: type a line's discount as a percentage or as an amount off the line. An amount stays exactly that amount on the PDF, the e-invoice and in the books.
- A discount on the whole invoice: "5% off the whole order" or "EUR 50 off this invoice" is one field under the lines. Erpilo spreads it over the lines by value, so each VAT rate and each product's profit gets its own share. The PDF shows it as one row before VAT.
- An automatic discount above an order value: give a customer or group steps such as "from EUR 1,000, 3%; from EUR 5,000, 5%" under Invoice defaults ▸ Order discount. The whole-invoice discount fills itself in as the order reaches a step and goes away if it drops below. Shipping and fees do not count, and a product can be marked Not part of order discounts for gift cards and deposits.
- Give a discount after the sale: "the box arrived damaged, take EUR 50 off" is More ▸ Give a discount on a sent invoice. It drafts a credit note that names the invoice and carries your reason, splits the discount between VAT rates and products, and moves no stock.
Guardrails
- Discount limits by role: in Settings ▸ Invoices ▸ Discount limit, set the largest discount a member may give. A member cannot save a line more than that below the customer's usual price, whether typed as a discount or as a lower price, and the line says why. Admins and owners can. Price lists, campaigns and group discounts are not limited, since an admin set them.
- A warning below cost: a line that sells for less than the product cost says so under the line, as you type. It is a warning, not a stop, and only people allowed to see cost see it.
- Who changed what: each customer's page has a Discount and price list history - every change to their discount, price list and group, who made it and when. Each customer group has the same.
Where your margin went
Sales ▸ Profit by product has a new card, From list price to profit: what the period's sales would have come to at your products' own prices, then what price lists, sales campaigns, customer discounts, line discounts, whole-invoice discounts, shop coupons and discounts after the sale each took off, down to net sales, cost of goods and profit - for the whole business and for each product. Filter by one coupon code to see what that coupon cost you.
Documents that show discounts properly
- The invoice form, the invoice page, the PDF and the books now work out every line the same way, to the cent. The PDF prints a discount such as 12.55% in full, a credit note for a discounted invoice shows its total discount, and a free sample line at a price of 0 can be saved.
- The e-invoice file now carries each line's unit price and discount, and the whole-invoice discount for each VAT rate.
Good to know
- Customer groups, price lists, sales campaigns and the discount limit are set up by owners and admins. Everyone in your company gets the prices on invoices.
- Nothing changes until you set it up. With no price lists and no discounts, invoices work as before.
- Drafts already made keep their prices when a list changes. Shop orders keep the price the shop charged.
- Profit by product shows the breakdown from today on. Sales saved earlier show as net sales only.
- Erpilo records your shop's coupons; it does not run them. Coupon codes, buy-one-get-one and loyalty points stay in your webshop.
- Not here yet: yearly volume bonuses, early-payment discounts ("2% if paid in 10 days"), price lists in other currencies, a customer in several groups, and sales campaigns in Shopify.