Platform overview
Quantaprice answers one question: what is the right price for this SKU, for this customer, right now? It answers correctly, in under 10 milliseconds at the 99th percentile, however deep your pricelist hierarchy and however many rules and bundles you have. You can look up any past price again with as_of.
This page introduces the building blocks and how they combine into the price you receive.
Core entities
Articles (SKUs)
An article is the catalogue record for a product: its SKU code, display name and a metadata map (key to list of values) for any attributes relevant to your business, such as brand, category or product line. Price rules can use article metadata to target product segments without changing any pricelist.
An article can also be a bundle: a SKU made up of component SKUs and quantities. How a bundle is priced is set per pricelist; see Bundles.
Pricelists
A pricelist is a pricing context: its currency, whether its prices include VAT (GROSS) or not (NET), its metadata, its price rules and an optional parent pricelist. Every pricelist sets its own currency and VAT mode.
Pricelists form a tree: each has at most one parent. A pricelist without its own price for a SKU inherits its parent's price and applies its own rules to it, so discounts on several levels compound: 10 % off for a segment and another 10 % off for a customer below it turn 100 into 81. A price set on the pricelist itself always takes precedence. See Inheritance.
Prices
A price links a SKU to a pricelist. It holds one or more named price fields, such as fixed, cost or catalog, and optional quantity breaks. Without price rules, the fixed field is the sales price; with rules, the rules calculate the sales price from the fields.
Every price has a start date. Writing a new price keeps the previous one as history, and a query selects the version in force at its as_of (default: now). A price with a future start date is a scheduled change and takes effect automatically. See Scheduled updates and Historical pricing.
Price rules
Price rules are CEL expressions on a pricelist, such as prices.cost * 1.35 or sales * 0.9. An optional filter on article metadata limits which articles a rule applies to. The first matching rule sets the sales price. Because rules belong to the pricelist, one rule covers every SKU on it. See Price rules.
Bundles
A bundle's price on a pricelist is set by its bundle rule:
sum_of_parts: the sum of each component's price on that pricelist multiplied by its quantity, with an optional percentage or absolute discount. A customer with negotiated component prices automatically gets a bundle price based on them.fixed: an explicit price, regardless of the component prices. VAT is still calculated per component, so bundles with mixed VAT classes are taxed correctly.
Currencies and exchange rates
Each pricelist holds prices in one currency. A query can request any currency; prices are converted at the exchange rate in force at the query's as_of. Rates come from the European Central Bank's daily feed, with EUR as the base, and you can also set your own. See Exchange rates.
VAT
VAT is determined by three entities:
- Tax areas: jurisdictions, for example
SE,DE,US-CA. A query names the tax area whose VAT applies. - VAT classes: product tax categories, for example
STANDARD,REDUCED,EXEMPT. Each article has a VAT class per tax area, so a product can have the standard rate in one country and a reduced rate in another. - VAT rates: the percentage for each combination of tax area and VAT class, with start dates so that rate changes can be scheduled.
A new tenant comes with currencies and a VAT baseline already set up. See VAT.
Rounding
Rounding profiles round the final price by price range, optionally with a charm offset such as -0.01 for prices ending in .99. A profile can be the global default, the default for a currency, or selected per request. See Rounding.
Entity relationships
┌────────────────────────────┐
│ Pricelist │
│ code, currency, vat_mode │
│ parent_code (→ Pricelist) │
│ price_rules (CEL[]) │
└──────────┬─────────┬────────┘
│ │
has prices ────┘ └──── bundle rules
│
┌────▼─────┐
│ Price │
│ sku ────┼──► Article (SKU)
│ fields │ │
│ breaks │ │ VAT class per tax area
│ start │ ▼
└──────────┘ ┌──────────────┐
│ Tax Area │
│ VAT Class │◄── VAT Rate (rate, start)
└──────────────┘
Currency ◄── FX Rate (EUR base, ECB daily, by date)
Rounding Profile (tier ranges, charm offset) ── global, per currency, or per request
How a price is calculated
Every price you receive is calculated in the same order:
- Price rules: the pricelist's rules, applied to the price fields, give the sales price in the pricelist's own currency.
- Currency conversion: if the query requests another currency, the price is converted at the exchange rate in force at
as_of. - VAT: the article's VAT class in the query's tax area gives the VAT rate in force at
as_of. On aNETpricelist, VAT is added; on aGROSSpricelist, it is extracted. - Rounding: the applicable rounding profile rounds the price including VAT, on both
NETandGROSSpricelists, or the price excluding VAT for a profile withvat_basisEX_VAT. The VAT amount and the other price are then derived from the rounded price, so the three always add up.
Rules come first because they are written in the pricelist's own currency. Conversion comes before VAT so that VAT is calculated on the amount in the currency you display. Rounding comes last so that it applies to the figure your customer sees.
When a query selects several pricelists that price the same SKU, all candidates are compared excluding VAT in the requested currency, and the lowest price wins. Each result also lists the pricelist's quantity breaks, converted and with VAT, so that you can apply the right one for an order quantity. See Querying prices.
Scheduling and history
Everything that goes into a price has a timeline. Prices, articles, pricelists and their rules, bundle rules, rounding profiles, VAT rates, article VAT classes and exchange rates can all be written in advance with a start date, and take effect at that moment on every pricelist they affect. See Scheduled updates.
A change never overwrites what it replaces. Within the history your plan keeps, a query with as_of returns the price in force at that moment, calculated with the rules, rates and VAT of that moment, so you can check an invoice or reproduce an old quote. The same history provides what the EU price-reduction rule requires: the lowest price of the 30 days before an advertised discount. See Historical pricing.
Tracking changes
Every change to your data can be read from a change log, by polling with a cursor, so that your other systems stay in step. Webhooks, which push changes to you as they happen, depend on your plan. See Change events.
Connecting to Quantaprice
- Your systems call the REST API with an API key that holds only the permissions they need. See Authentication.
- Shop pages can fetch prices directly from the shopper's browser with a short-lived storefront token. See Storefront prices.
- Your team works in the console and signs in with an email link or your own identity provider. See The console.
- AI assistants connect over MCP and act with the access of the person who connected them. See AI assistants (MCP).
Learn more
- Querying prices: how to call the price API.
- Price rules: writing rules, and when they take effect.
- Bundles: bundle rules and the per-component breakdown.
- VAT: tax areas, VAT classes and article VAT classes.
- Rounding: rounding profiles.
- API reference: every endpoint.