Promotions

  • Comprehensive Bidding System for Dolibarr

    Manage the whole life cycle of your government and private sector tenders, from the tender notice to the award: a complete bid file, detailed cost estimation, document management, work location on Google Maps, weighted evaluation and project creation in one click.

    125.00 €  (250€)
  • Advanced HRM : Advanced human resources management

    This module brings a layer of ergonomics and additional features in the standard Dolibarr human resources management module, such as the facility to create absence requests from the employee schedule, the addition of automatic VAT rates, the integration of the km scale on the tranche 1 and of google maps.

    145.00 €  (348€)

New products

Landed costs

mp25232d20261012001614

Spreads freight, customs and other shipment costs over product cost and weighted average price, even across several suppliers.

99.00 €
Excl. tax

  • Author Noé Trotin
  • Module version 1.0.6
  • Release date 10/12/2026
  • Access to download and updates 2 years
  • How to contact support support@dolix.fr
  • Compatibility Dolibarr V19 - V24   -   PHP7.4 - 8.3
  • Last update 11/14/2026 12:05 PM

More info...

In Dolibarr, a product's weighted average price (WAP) is computed when stock comes in, from the purchase price only. Freight, customs duties, forwarder or insurance come on separate invoices and are not spread: stock value and margins are wrong, or prices must be corrected by hand, line by line.

Example: one truck brings goods from two suppliers, €5,000 and €15,000 excl. tax. The carrier charges €4,000 excl. tax. Spread by value: €1,000 on the first order, €3,000 on the second. An item bought at €50 actually costs €60, and that is the cost used for the WAP and the stock value.

Online demo

Try the module without installing anything: demo.dolix.fr/custom/dolixapproche/dossier_list.php. Login demo-en, password demo. Sample data, reset every night. Interface in English, data in French.

Landed costs groups in a shipment file the purchase orders that arrived together, even from different suppliers (a container, a truck). You enter the costs and choose how to spread them:

  • by value, by quantity, by weight (from product cards) or equally;
  • to the cent: the amount spread always equals the total of the costs;
  • carrier invoice linked to the file to find the document.

The allocation is shown line by line (net price, allocated costs, landed unit cost), then applied:

  • before receiving: the landed cost is written on the draft receptions, and Dolibarr computes the WAP with it on validation;
  • after receiving (invoice arriving later): the WAP is corrected on the part still in stock only; past sales are not revalued.

Every change is logged (old and new value) and can be undone, all or nothing, as long as nothing has moved. Option: also update the products' cost price. "Landed costs" tab on the purchase order. No accounting entry is changed. Interface in French, English, German and Spanish. Compatible with Dolibarr 19 to 24. Written by Dolix (dolix.fr). Tested on Dolibarr 19.0.4, 20.0.4, 21.0.4, 22.0.5, 23.0.4, 24.0.1 and 24.0.2, with PHP 8.2; cost allocation also tested with PHP 7.4 and 8.3.

Limitations and support

  • No accounting entry or invoice is changed. Costs entered in the company currency, orders in a foreign currency taken at the order's rate; no customs value calculation, no spreading by lot.
  • Applying before receiving needs the Receptions module and a draft reception.
  • Email reply from support@dolix.fr, in French, English, German or Spanish, within two working days; reproduced bugs are fixed in a new version of the module.
  • Installation or setup done for you, training, custom development: on quotation.
  • All limitations and support details: dolix.fr/en/modules/frais-approche

Dolix also contributes to Dolibarr itself: more than 20 fixes accepted into the Dolibarr core (versions 23 and 24).

License: GPL v3 or later.

Documentation (installation, settings, FAQ, version history): dolix.fr/en/modules/frais-approche




If you think this module is a fork of another one (published after the first one) or violates some terms or conditions of use (for users or vendors), you can make a report at dolistore@dolibarr.org