Validity period of cost templates

Limit a cost template to a date range, e.g. for a peak surcharge, or schedule a new price from a fixed date.

Every cost template can optionally apply only for a certain period. Typical examples:

  • a peak surcharge from November to December,
  • a price change from a fixed date: the old template gets a Valid until date, the new one a Valid from date. X-Sitter does this for you with Price change from a date (Preisänderung ab Datum), see below.

The validity period is available in Order costs, Unloading costs, Storage space costs, Article costs, Material costs, Pallet costs, the Shipping cost matrix and Invoice items.

Screenshot: Cost template form with the "Valid from", "Valid until" and "Repeat every year" fields at the bottom
Screenshot: Cost template form with the "Valid from", "Valid until" and "Repeat every year" fields at the bottom

Before you start

  • You need permission for the cost template you want to change (see the page of the respective cost type).

Step by step

  1. Open the cost template you want to limit, or create a new one.
  2. Set Valid from (Gültig von) and/or Valid until (Gültig bis). Both dates are inclusive. Leave a field empty for "unlimited".
  3. Optional: switch on Repeat every year (Jedes Jahr wiederholen) if the period should come back every year (see below).
  4. Click Save (Speichern).

In the template list, the period is shown below the Active (Aktiv) icon.

Screenshot: Overview list of order cost templates with validity periods in grey, blue and red below the Active icon
Screenshot: Overview list of order cost templates with validity periods in grey, blue and red below the Active icon

Fields and options

Field Meaning Required
Valid from (Gültig von) First day on which the template applies. Empty = unlimited. no
Valid until (Gültig bis) Last day on which the template applies. Empty = unlimited. no
Repeat every year (Jedes Jahr wiederholen) Only day and month count, the year is ignored. 01.11. to 31.12. then applies every year. A period such as 01.12. to 31.01. runs across the turn of the year. no

If you accidentally enter a "Valid from" date after the "Valid until" date, X-Sitter swaps the two dates when saving (not for yearly periods, where a period across the turn of the year is intended).

Colours in the list

Display Meaning
grey Validity Period (Gültigkeitszeitraum) – the template is currently valid. With "annually" (jährlich) it is a yearly recurring period; it never expires.
blue The validity period does not begin until (Gültigkeitszeitraum beginnt erst) – the template becomes valid in the future.
red Validity period has expired (Gültigkeitszeitraum abgelaufen) – the template is no longer charged.

How the period affects the statement

  • If the validity period lies completely outside the billing period, the template is skipped.
  • Time-based costs (Storage space costs, time-based Article costs) are only calculated for the overlapping days.
  • Event-based costs (orders, advance notices, material movements, shipping labels, pallets) only count events whose date lies within the period.
  • Invoice items with "Insert on each invoice" only appear if their validity period overlaps the billing period.
  • Recorded VAS have no validity period – the Date of service decides.
Screenshot: Client statement for November showing a peak surcharge item that only counts orders from 1 November
Screenshot: Client statement for November showing a peak surcharge item that only counts orders from 1 November

Change the price from a date

Enter a new price and the day from which it applies – the current price stays until the day before. You find the fields in every saved template of Order costs, Unloading costs, Storage space costs, Article costs, Material costs, Pallet costs, the Shipping cost matrix and Invoice items, below the validity period. VAS templates have no validity period and therefore no price change.

  1. Open the template whose price changes. The section appears only in a template that has already been saved.
  2. Under Price change from a date (Preisänderung ab Datum), enter the New price (net) (Neuer Preis (netto)), e.g. 1,60.
  3. Set New price applies from (Neuer Preis gilt ab) to the first day of the new price, e.g. 1 January 2027.
  4. Click Save (Speichern).
Screenshot: Form of a saved order cost template, section "Price change from a date" below the validity period with "New price (net)" 1,60 and "New price applies from" 01.01.2027 filled in
Screenshot: Form of a saved order cost template, section "Price change from a date" below the validity period with "New price (net)" 1,60 and "New price applies from" 01.01.2027 filled in

X-Sitter saves the template and splits it at the date. You see "New price 1,60 scheduled from 01.01.2027: a copy of the template applies from that day, the previous template ends on 31.12.2026." (Neuer Preis … ab … geplant: …).

  • The template keeps its current price and gets Valid until = the day before the date.
  • A copy with the same name and all settings (client, article, conditions, category, active flag) gets the new price and Valid from = the date. If the template had a Valid until date after the date, the copy takes it over.
  • Both templates are listed afterwards; the copy shows the blue period "from 01.01.2027". You can edit it like any other template.
  • The client billing charges the old price up to the day before and the new price from the date on – also within one billing period.
  • The price that changes is Costs (Kosten); in invoice items the unit price, in the shipping cost matrix the net price (the purchase price stays).

The date must lie after Valid from of the template. A template with Repeat every year cannot be split at a date – change it by hand as described below. To change many prices at once, export the templates of the client, change the prices in the file and import it with Update, see Import and export cost templates.

Example: price change by hand

For templates with Repeat every year, or if the new template should differ in more than the price:

  1. In the list, click Duplicate (Duplizieren) next to the current template. X-Sitter creates an inactive copy named "Copy - …" and opens it.
  2. In the copy, enter the new price, set Valid from to 1 January and switch on Active. Save.
  3. Open the old template, set Valid until to 31 December and save.

Good to know

Situation Cause Solution
An item is missing on the statement The validity period does not overlap the billing period. Check Valid from / Valid until in the template.
An item is charged twice Old and new template are both valid on the same days. Make sure the periods do not overlap.
For a price change please enter the new price and the date together – none was scheduled. (Für eine Preisänderung bitte neuen Preis und Datum zusammen angeben …) Only one of the two price change fields was filled in. Fill in both fields or leave both empty. The template itself has been saved.
The new price is not an amount. (Der neue Preis ist kein Betrag.) / The date of the price change is invalid. (Das Datum der Preisänderung ist ungültig.) The entry cannot be read. Enter the amount with comma or point and pick the date in the date field.
The date of the price change has to lie after the start of the validity. (Das Datum der Preisänderung muss nach dem Beginn der Gültigkeit liegen.) New price applies from is on or before Valid from. Choose a later date or adjust Valid from.
A template that repeats every year cannot be split at a date … (Eine jedes Jahr wiederkehrende Vorlage kann nicht an einem Datum geteilt werden …) Repeat every year is switched on. Change the price by hand, see Example: price change by hand.