Shipping cost matrix
The shipping cost matrix (Versandkosten Matrix) defines the net price a client pays per shipping label – depending on the destination country, the carrier, the package type, the weight and optionally an additional service of the order (for example the age check) or the platform and comment of the order (for example separate prices for Amazon parcels). On the client statement, every shipping label of the client in the billing period is matched to a row of the matrix.
Before you start
- Your user needs the permissions for the shipping costs in the cost settings – ask your administrator.
- The shipping labels are created via ShipCloud and belong to an order of the client, see Shipping labels and ShipCloud accounts.
- Recommended: a service category for shipping, ideally with "Versand" in its name.
Step by step
Create an entry manually
- Open WMS › Settings › Cost settings › Shipping Cost Matrix (WMS › Einstellungen › Kosteneinstellungen › Versandkosten Matrix).
- Click Set up shipping costs (Versandkosten anlegen).
- Enter a Name (Name) and optionally a Detailed description (Detailbeschreibung), choose the Client (Mandant) or All clients (Alle Mandanten), the ShipCloud Account (ShipCloud Konto) and the Billing Category (Abrechnungs-Kategorie). Tick Active (Aktiv).
- Enter Weight from (kg) (Gewicht von (kg)) and Weight up to (kg) (Gewicht bis (kg)).
- Choose the Countries (Länder). Use the buttons Select all (Alle auswählen), EU or Non-EU (Nicht EU), or choose All countries / Wildcard (Alle Länder / Wildcard,
*). Optionally enter a Zip code (optional) (Postleitzahl (optional)).
- Enter the Package Type (Slug) (Paket-Typ (Slug)), e.g.
standard,dhl_kleinpaket,dhl_warenpostor*for all, and the Shipping carrier (Versanddienstleister (Carrier)), e.g.dhl,dpd,upsor*for all. - Enter the Net sales price (VK Netto) and optionally the Net purchase price (EK Netto). Optionally switch on Calculate multiple times (Mehrfach berechnen) and set a validity period.
- Optionally choose an Additional service (Zusatzleistung), e.g. Age check (Altersprüfung). The entry then only applies to parcels whose order has this service (Other additional services (Weitere Zusatzleistungen) of the order). Leave it at All parcels (no additional service condition) (Alle Pakete (ohne Bedingung zur Zusatzleistung)) for a normal entry.
- If the entry should only apply to certain orders, click Add condition (Bedingung hinzufügen) under Conditions / Triggers (Optional) (Bedingungen / Auslöser (Optional)). Choose the field Platform (Plattform) or Comment (Bemerkung), an operator, e.g. Contains (Enthält), and enter the Value (Wert), e.g.
Amazon. The red trash can removes a condition again. - Click Save (Speichern).
Import a CSV file
-
In the list, click Import (Import). The shipping cost importer opens.
-
Under Billing (CSV) (Abrechnung (CSV)), choose the monthly billing file in CSV format. Optionally choose clients under Do not import these clients (Mandanten nicht importieren; empty = "Import all clients" – Alle Mandanten importieren). Lines of these clients are skipped, e.g. if their shipping costs are billed differently. The selection is kept for the next import.
-
Click Upload and import (Hochladen und Importieren).
-
Check the Summary (Zusammenfassung) and the Detail view (Detailansicht).
-
Check that the imported entries are Active and have the right category.
Export the matrix
Click Export in the list. You get a CSV file versandkosten_export_<date>.csv with the columns Company Name, Name, Carrier, Service, Weight From, Weight To, Shipping Charge (net sales price), Receiver Countries, Purchase Price, Additional Service and Conditions (the conditions of the entry). The current client filter applies.
Fields and options
How labels are matched
- For each shipping label, X-Sitter first checks the entries for the destination country (from the delivery address, default Germany), then the wildcard entries.
- An entry matches if carrier, package type, weight, Active and the validity period fit.
- The first matching entry without Calculate multiple times is charged (the normal price). Every matching entry with Calculate multiple times is added, wherever it is in the list.
- Entries with an Additional service only match parcels whose order has that service. They are checked before the other entries:
- without Calculate multiple times the entry is a special price: it replaces the normal price of the parcel; fees with Calculate multiple times (e.g. packaging) are still charged;
- with Calculate multiple times the entry is a surcharge on top of the normal price.
- The additional services of an order are shown as badges in the order overview and the order details. An order without the badge is billed at the normal price.
- Entries with Conditions only match parcels whose order meets all conditions. If they match, they come before the entries without conditions – wherever they are in the list, even with
*as country. An entry "Platform Contains Amazon" therefore replaces the normal price of Amazon parcels, all other parcels are billed as before. A special price of an additional service (e.g. age check) still comes first; for Amazon parcels with age check, add an age check entry with the same condition. Entries with Calculate multiple times and a condition are only added for matching parcels. - The platform of an order is shown in the order details under Additional Information (Zusatz-Infos) › Platform (Plattform).
Example: bill Amazon parcels separately
Your client wants to see the shipping costs of the Amazon orders and the other shipping costs separately on the statement – just like with the article costs and order costs. Keep your normal entry, e.g. "DHL Paket DE". Copy it with Duplicate (Duplizieren), name the copy e.g. "DHL Paket DE Amazon", add the condition Platform Contains Amazon and activate it. Amazon parcels (platform "Amazon.de", "Amazon.it" …) then appear under "DHL Paket DE Amazon", all others still under "DHL Paket DE". Add an Amazon entry for every weight tier and country that should appear separately; if one is missing, the Amazon parcel is billed with the normal entry.
Use Contains and not == (Equal): the platform is usually called "Amazon.de" or "Amazon.fr", == (Equal) Amazon does not match it.
Example: charge the age check higher
You charge 4.50 € per DHL parcel and want 6.50 € for parcels with age check. Keep your normal entry (carrier dhl, 4.50 €) and add a second entry with the same carrier and weight range, Additional service = Age check and Net sales price 6.50 €, without Calculate multiple times. Alternatively enter 2.00 € and switch on Calculate multiple times – the parcel then costs 4.50 € + 2.00 €.
- On the statement, shipping costs always appear with the description "Shipping costs according to matrix" (Versandkosten nach Matrix) and a detailed breakdown in the appendix (reference = label reference or order number).
How the import works
- The file is a semicolon-separated CSV with the columns Company Name, Carrier, Service, Weight (or Weight To), Receiver Country (or Receiver Countries) and Shipping Charge, optionally Name. The export file has the same format; the importer reads only Shipping Charge as price.
- The Company Name must match the name of your client, and the client must have a ShipCloud account.
- The weights are grouped into the tiers up to 0.999 / 1.999 / 2.999 / 3.999 / 4.999 / 9.999 / 31 kg.
- Germany stays a separate entry, other EU countries are combined into "EU", non-EU countries get one entry per country.
- The carrier's charge is taken as the purchase price. New rows also get it as the sales price to start with; existing rows keep their sales price (Der Betrag des Versanddienstleisters wird als EK übernommen. Neue Zeilen bekommen ihn zunächst auch als VK; bei bestehenden Zeilen bleibt der VK unverändert.).
- Existing entries (same client and name) receive missing countries and the new purchase price. New entries get the category whose name contains "Versand".
- The import does not create conditions. An entry with its own name such as "DHL Paket DE Amazon" only gets its purchase price if a line of the file has exactly that name; otherwise enter it manually.
Good to know / Troubleshooting
- Use Duplicate (Duplizieren) in the list to copy an entry. The copy is inactive until you activate it.