Index Surcharge for Odoo

Fuel, energy, metal and tariff surcharges from an index, on every quotation and invoice

What Index Surcharge does

Keep your list prices and pass cost changes on as their own, clearly explained line: the diesel price of the month, the electricity price against your base, the steel or copper price per kg, a tariff rate that comes and goes.

Index-linked surcharge lines on quotations, sales orders and invoices: dated index tables (diesel, electricity, steel, copper, aluminium, tariff rate or any index) typed in, imported from CSV or fetched from a public JSON/CSV URL; rules with base value and base date, bands, % change x share, difference x factor, % of lines or order, per kg, per m3, per unit, floor, cap and minimum; scope by customer, tag, product, category, pricelist, country and company; rate at quotation, confirmation or invoice date; frozen once invoiced; explanation printed on the line.

  • Fuel surcharge
  • Energy
  • Steel
  • Copper
  • Aluminium
  • Tariffs

Features

  • Index tables

    Diesel, electricity, gas, steel, copper, aluminium, a tariff rate or any index of your own, with dated values, unit, type and an index board with the latest value and the change.

  • Typed, imported or fetched

    Type values in, import a CSV or JSON file from a statistics office, or fetch a public JSON or CSV address every day with path, keys, date format and factor.

  • Five formulas

    Bands on the index value (lower bound included), % change against a base x the cost share, (index - base) x factor, index value x factor, or a fixed rate.

  • Base value and base date

    The index value your prices were agreed on, typed in or taken from the index on the base date.

  • Six ways to apply

    % of the eligible lines, % of the untaxed order, per weight unit, per volume unit, per unit sold or a fixed amount per document.

  • Floor, cap and limits

    No credit below the base unless you allow it, a rate cap, a minimum and a maximum amount per document and an order amount threshold.

  • Exact scope

    Customers and their contacts, customer tags, exempt customers, products, categories with their sub-categories, excluded products, pricelists, countries, companies and validity dates.

  • Customer agreements

    A rule for one customer with its own base and cap wins over the general rule of the same surcharge product.

  • Rate date per rule

    Quotation date (the quoted rate is kept), confirmation date, or invoice date with a provisional rate on the quotation.

  • Invoices follow

    Each invoice computes the surcharge on its own invoiced lines; posted invoices and invoiced order lines are frozen; credit notes mirror the invoice.

  • Explained line

    Index, value, date, formula, rate and basis written on the line, in the customer's language, printed on the quotation and the invoice.

  • Own product, taxes, account

    Each surcharge line uses a service product with its own taxes and income account, so reports, exports and the tax return stay standard.

  • Multi-currency

    Amount rates in their own currency (e.g. USD per kg for copper) converted to the order currency on its date.

  • Waive with control

    Only a sales manager can remove a surcharge from an order; it is then not added again and the chatter says who did it.

  • Simulator and notice

    Try an index value on the rule and see the rate. Print a surcharge notice with the explanation, the scale and the recent values for your customers.

Before and after

Without the app

  • Salespeople compute the fuel or metal surcharge by hand on every quotation
  • Price lists are changed every month, so last month's quotations no longer match
  • Customers ask how the surcharge was computed and nobody can show it
  • Index values sit in a spreadsheet next to Odoo
  • Invoices of delivered goods carry last quarter's rate

With Index Surcharge

  • One surcharge line per rule, added and updated by Odoo as the quotation changes
  • List prices stay; the surcharge follows the published index
  • The line says which index value, date, formula and basis gave the amount, also in the PDF
  • Index tables typed in, imported from CSV or fetched every day from a public address
  • Rate of the quotation, confirmation or invoice date, per rule, frozen once invoiced

How it works, step by step

  1. 01Index board

    Sales, Configuration, Surcharges, Index board: every index with its latest value, the change against the previous one, the number of rules and the fetch status.

    Index Surcharge: Index board
  2. 02Index values

    The diesel price of every month, typed in. Values can be edited in the list; one value per date.

    Index Surcharge: Index values
  3. 03Fetched from a public address

    This index reads a public CSV file with the weekly retail diesel price: 1,704 values were fetched. Fetch every day keeps it up to date; errors are shown on the index and the board.

    Index Surcharge: Fetched from a public address
  4. 04Import a file

    A CSV or JSON file from a statistics office: choose the date and value columns, or let the app take the first two. Existing dates are updated, not doubled.

  5. 05History

    The history button shows the values of the index as a chart and a list.

  6. 06Surcharge rules

    All rules with their index, formula, how they apply, today's rate and rate date. Customer agreements come first.

  7. 07Bands

    The fuel surcharge applies a band rate to the untaxed order: 4 % from 1.55 EUR/l, 6 % from 1.65, 8 % from 1.75. A value on a boundary falls in the upper band.

  8. 08Share of a cost and simulator

    The energy surcharge passes on 25 % of the change of the electricity price against 85 EUR/MWh, at most 6 %. The simulator shows the rate for any test value.

  9. 09A customer agreement

    Brightwater has its own copper base of 10,000 USD/t and a cap of 0.40 USD/kg. It uses the same surcharge product as the general copper rule, so only the agreement applies to them.

  10. 10The quotation

    Saving the quotation added one line per surcharge. Each line says which index value of which date, which formula and which basis gave the amount. The steel surcharge is provisional: it uses the invoice date.

  11. 11In the PDF

    The customer sees the same explanation on the printed quotation.

  12. 12On the invoice

    The invoice charged the surcharges on its invoiced lines and the steel surcharge at the rate of the invoice date. Posted invoices are never changed.

Questions about Index Surcharge

Does the app download index values?

Only from the address you enter: any public JSON or CSV file that needs no login, for example the download link of a central bank or statistics office series. Indexes without an address are typed in or imported.

When are the surcharge lines updated?

When a draft or sent quotation is saved, when you click Update surcharges, at confirmation for rules that use the confirmation date, and on each invoice. Website carts are not touched. After publishing new values, Update open quotations refreshes every open quotation.

What happens at confirmation and invoicing?

Quotation date: the quoted rate is kept. Confirmation date: the rate is computed again and kept. Invoice date: each invoice uses the rate of its date. Invoices always compute the amount on their own invoiced lines, so partial invoices and credit notes for returns get their share.

Can a salesperson remove or change a surcharge?

The line is read-only. Only a sales manager can remove it; it is then waived for that order and logged in the chatter. To exempt a customer for good, add it to the exempt customers of the rule.

What if the index falls below the base?

The rate stops at 0 unless you allow a credit on the rule; then a negative line is added. A cap limits both directions.

Which currency is used?

Percent rates need no currency. Amount rates (per kg, per unit, fixed, limits) are in the rule currency and converted to the order currency on its date.

Does it work with Community and Enterprise?

Yes, it needs the Sales app and works in both, in light and dark mode. The shipping and purchase add-ons install themselves when Delivery or Purchase is installed.

All Odoo apps

Related Odoo apps

Tell us which systems disagree. We will fix that.

Thirty minutes with an engineer, not a salesperson. You leave with a map of what you run, what to connect first and a price range, whether or not you hire us.