DocumentationHow-To GuidesKalkulacija & Nivelacija
Pricing & Analytics

Kalkulacija & Nivelacija

Calculate retail prices from purchase costs and re-level shelf prices.

Calculate retail prices from supplier purchase prices with a Kalkulacija (cost calculation), and re-level existing shelf prices with a Nivelacija (price adjustment). Both are formal documents with an audit trail, and both write prices back to your product catalog when you apply them.

Overview

Two document types work together to control your retail pricing:

  • Kalkulacija (cost calculation) — turns a supplier's purchase price into a shelf price. You enter the net purchase price (*nabavna cena*), add any dependent costs (transport, customs…), set the margin or the target shelf price, and Stogly computes the VAT-exclusive base, PDV, and the gross retail price (*MPC*). On apply, it writes each product's selling price and cost price.
  • Nivelacija (price adjustment) — changes the selling price of products you already stock. You set the new shelf price per product; Stogly snapshots the old price and current stock quantity, and on apply moves each product's selling price to the new value.

All money is computed and frozen on the server — the numbers you see while editing are a live preview, and the authoritative values are locked in when you confirm/approve and apply. This keeps a kalkulacija's math consistent with the eventual fiscal receipt for the same gross price.

Kalkulacija and Nivelacija are available for retail businesses.

Kalkulacija: Calculating a Retail Price

Creating a Kalkulacija

  1. Navigate to Pricing > Kalkulacija
  2. Click New Kalkulacija
  3. Fill in the document header:
FieldDescription
Document dateThe date of the calculation.
SupplierOptional — the supplier the goods came from.
Supplier invoiceOptional — invoice number and date, for reference.
  1. Add one line per product:
FieldDescription
ProductThe product being priced (or a free-text name for a new item).
QuantityHow many units the calculation covers.
Purchase price (nabavna)The net, VAT-exclusive purchase price per unit.
Retail price with tax (MPC)The gross, VAT-inclusive shelf price you want — the authoritative input.
  1. Optionally add dependent costs (*zavisni troškovi*) — transport, customs, insurance, forwarding. Each cost is spread across the lines (by purchase value by default) and raises the true cost per unit.
  2. Click Save to create a draft.

How the Math Works

The shelf price (MPC) is gross — VAT is *extracted* from it, never added on top. The margin (RUC) is calculated on the VAT-exclusive base minus the net cost.

Worked example — one unit, purchase price 100, target MPC 150, VAT 20%:

ValueAmountHow it's derived
Purchase price (nabavna, net)100.00Your input
MPC (gross shelf price)150.00Your input
Retail base (osnovica)125.00150 ÷ 1.20
PDV (VAT)25.00150 − 125
Margin (RUC)25.00125 − 100
Margin %25%25 ÷ 100

Add a dependent cost and it lifts the cost side of the margin: e.g. a 5.00 transport cost allocated to this line makes the true cost 105.00, so the margin becomes 125 − 105 = 20.00 (≈19%).

Confirm & Apply

A kalkulacija moves through three states:

StatusMeaning
DraftEditable. Add, change, or remove lines and dependent costs.
ConfirmedThe math is frozen. The document becomes a permanent record.
AppliedThe calculated prices have been written to the products.
  1. While the document is a draft, refine the lines until the margins look right.
  2. Click Confirm to freeze the calculation. A confirmed document is immutable — to change it, cancel it and create a new one.
  3. Click Apply to write the results to your catalog. For each line, Stogly sets the product's:
    - selling price = the gross MPC

    - cost price = the net purchase price plus its share of dependent costs

Apply sets prices only — it does not receive stock. Use a purchase order or goods receipt to bring quantity in.

You can Cancel a draft or confirmed document that you no longer need; cancelled documents stay on the list for the record.

Nivelacija: Changing Shelf Prices

A nivelacija re-levels the selling price of products you already carry — for a price increase, a promotion rollback, or a supplier-driven update — with a snapshot of what the price and stock were at the time.

Creating a Nivelacija

  1. Navigate to Pricing > Nivelacija
  2. Click New Nivelacija
  3. Set the header:
FieldDescription
Document dateWhen the document is created.
Effective dateThe date the new prices are allowed to take effect. Apply is blocked before this date.
ReasonOptional note explaining the change, kept for the audit trail.
  1. Add one line per product, entering the new selling price. Stogly automatically snapshots:
    - the old selling price (from the product)

    - the current on-hand quantity

    - the resulting per-unit and total value difference (informational — for stock revaluation)
  1. Click Save to create a draft.

Approve & Apply

StatusMeaning
DraftEditable.
ApprovedReviewed and locked, ready to apply.
AppliedThe new prices are live on the products.
  1. Click Approve to lock the draft.
  2. On or after the effective date, click Apply. Stogly re-snapshots the on-hand quantity, then moves each product's selling price from the old value to the new one.
    - Applying before the effective date is rejected.

    - A document can only be applied once — re-applying an applied document is rejected.

Use Cancel to discard a draft or approved document.

Where the Prices Land

Both documents write to your product catalog:

  • Kalkulacija apply → sets each product's selling price (gross MPC) *and* cost price (net purchase + dependent costs).
  • Nivelacija apply → sets each product's selling price to the new value.

From there the selling price flows to the POS, the storefront, and fiscal receipts, and the cost price feeds margin and inventory-valuation reports.

Tips & Best Practices

  • Enter the MPC you actually want on the shelf — the calculation works backwards from the gross price to show your true margin, so you always know what you're earning.
  • Use dependent costs for landed cost — transport, customs and insurance belong in the cost base, or your margin will look better than it really is.
  • Confirm only when you're sure — a confirmed kalkulacija is immutable; to correct it, cancel and start a new one.
  • Set a future effective date for planned changes — a nivelacija won't apply before its effective date, so you can prepare price rounds in advance.
  • Always record a reason on a nivelacija — it explains later why a price moved.

Need help? Contact support at support@stogly.com