In the business letter templates, you can configure the texts of emails that are sent when documents (orders, delivery notes, invoices) and other automated notifications (dunning, shipping confirmation, etc.) are sent.
Business letter templates facilitate the sending of documents by automatically creating a text template as cover letter or email. The saved template is automatically loaded when a new document is created and can be sent either manually, individually or in combination with a logistics process.
Business letter templates can be created for all documents:
-
Offer
-
Order
-
Credit note / cancellation invoice
-
Delivery note
-
Reminders
-
Invoice
-
Dispatch confirmation
Important
The PDF engine used by Xentral is unable to convert HTML tables into PDF. We advise you to not use tables in your business letter templates.
This module is especially relevant if emails are sent regularly via Xentral.
The overview contains a list of all created business letter templates. Here you can create new ones as well as edit, delete, or copy already existing ones.
With the Copy icon existing business letter templates can be copied and adapted. This is particularly useful if several templates are to be created quickly and their contents are similar.
A new business letter template can be created via the "+NEW" button and edited via the edit icon. In both cases the following dialog box opens:
-
Type → Type of document for which the business letter template is to be used. The type must always be unique and not have a different name than the one present in the default templates. The type to be used is e.g. quotation, order, purchase order, delivery note, invoice, etc.
-
Language → Select the language in which the template was created.
-
Project → Specify a project if the template is to be used only in a specific project. If the field is left blank, the template can be selected in all projects
-
Subject → Subject of the business letter template. Variables can be used here
-
Text → Text of the business letter template. Variables can be used here
In the "Type" field, the designation of the respective document is entered.
These are among others:
-
Offer → Type designation: Offer
-
Order → Type designation: Order
-
Order → Type designation: Order
-
Price inquiry → Type designation: Price inquiry
-
Delivery bill → Type designation: delivery note
-
Invoice → Type designation: Invoice
-
Credit note → Type designation: Credit note
-
Self-collector → Type designation: Self-collector
-
Dispatch notification → Type designation: Dispatch
-
Dispatch by mail → Type designation: DispatchMailDocument
-
Outstanding payment → Type designation: PaymentMiss
-
Payment difference → Type designation: PaymentDiff
-
Receipt of payment → Type designation: PaymentOK
-
Cancellation → Type designation: Cancellation
-
Proof of work → Type designation: Proof of work
-
Correspondence →Type designation: Correspondence.
Note
It is imperative that this designation (type) is selected exactly as it exists in the standard system, e.g. only "Shipping". The type designations can also be used multiple times for several templates, but must not be extended by numbers, designations, etc. Otherwise the business letter template is not be automatically retrievable by the system and will therefore not work.
For documents that allow different designations (e.g. "Proforma invoice" or "Receipt" for invoice), a separate business letter template can also be set.
The type designation is then corresponding to the document + _Different. Examples: Invoice_Offered, Order_Offered, Delivery Note_Offered, etc.
The checkbox "Alternative labeling" when creating or editing documents can then be used to specify in the document that it should be given the different labeling that has been created. This is then also visible in the document preview.
"German" and "English" are available by default as document language for business letter templates. As soon as a document is created for a customer who has set the corresponding document language, the template is used. All document languages that are set to active under Administration → System → Language list are available for selection.
Variables can be used in both the subject and the text.
Note
You can also use variables in the letterhead. You can set the letterhead under Administration > System > Basic settings > Letterhead.
Variables for order:
-
{ABWEICHENDELIEFERADRESSE} → Different delivery address in one line
-
{LIEFERNAME} → Delivery address name
-
{LIEFERABTEILUNG} → Delivery address department
-
{LIEFERUNTERABTEILUNG} → Delivery address subdivision
-
{LIEFERADRESSZUSATZ} → Delivery address address addition
-
{LIEFERANSPRECHPARTNER} → Contact person from delivery address
-
{LIEFERSTRASSE} → Street from delivery address
-
{LIEFERPLZ} → Postal code from delivery address
-
{LIEFERLAND} → Country from delivery address
-
{LIEFERORT} → Delivery location
-
{TRANSAKTIONSNUMMER} → Transaction number (e.g. for payments; also works for LS,GS,RE)
-
{PROJEKT} → Project
-
{PROJEKTNAME} → Project name{ADRESSE_NAME} → address name{CUSTOMER NUMBER} → customer number
-
{ADRESSE} → Address ID
-
{INTERNEBEZEICHNUNG} → Internal Name
-
{IHREBESTELLNUMMER} → Your order number/commission
-
{INTERNET} → Internet order number (e.g. store order number; also works for LS, RE, GS)
Variables for offer, order, delivery note, invoice, credit note:
-
{GESAMTNETTO} → Total net amount
-
{SOLL} → Debit amount (gross amount)
-
{SOLLMITSKONTO} → Debit with discount deduction
-
{SKONTOBETRAG} → Discount amount
Variables for offer, order, invoice:
-
{ZAHLUNGSZIELTAGE} → Payment target in days
-
{ZAHLUNGBISDATUM} → Payment target date
Variables for Delivery Note:
-
{RECHNUNGSADRESSE} → Invoice address
Variables for quotation, order, delivery note, invoice, credit note:
-
{NETTOGEWICHT} → Net weight
-
{BELEGNR} → Document number
-
{ZAHLUNGSWEISE} → Payment method
Variables for offer:
-
{LIEFERTERMIN} → Date of delivery
-
{LIEFERWOCHE} → Week of delivery
-
{GUELTIGBIS} → Valid to date
-
{GUELTIGBISWOCHE} → Valid to week
-
{ZAHLUNGSWEISE} → Payment method
Variables from address for offer, order, delivery note, invoice, credit note:
-
{FREIFELD1} → Free field 1
-
{FREIFELD2} → Free field 2
-
{FREIFELD3} → Free field 3
-
{ANSCHREIBEN} → Cover letter
In addition all fields from the address master:
-
{ADRESSE_KUNDENNUMMER} → Address customer number
-
{ADRESSE_TELEFON} → Address phone number
-
{ADRESSE_EMAILANSCHREIBEN} → Address salutation letter
etc...
Other variables:
-
{VERBANDSNUMMER} → Association number
-
{VERBAND} → Association
The template can be sent via the action "send" (action in the respective document):
Documents can be sent by printer, fax, email, telephone call or other:
Sending the documents ensures the following things:
-
Setting the write protection for the respective document
-
Changing the status of the document (e.g. sent) for overviews and filters
-
Saving of a log entry → when and in which way the document was sent by which employee
-
Activation of further important follow-up processes (e.g. in the purchase order document: activation of the ordered articles for the goods receipt)
To reload templates if they have been changed while a document is being sent, there is a button in the send dialog. This is useful, for example, if the document has already been sent once and an updated business letter template or a business letter template for a different name should be loaded (e.g. first sent the order, then create a pro forma invoice).
A personalized salutation can be entered in the master data of an address.
This salutation is inserted with the variable: {ANSCHREIBEN}
If the cover letter field is not filled in the address and the variable is used anyway, then "Dear Sir or Madam" is inserted as default.
Under Administration → System → Translations this default value "Dear Sir or Madam" can also be translated or changed with the variable document_coverletter. This translation variable translates the {ANSCHREIBEN} variable of the business letter template and text templates.
Files can also be attached to a specific business letter template. To do this, click on the corresponding template and then on the Files button to upload and select the file. The type of the file must be attachment.
The attachments are then automatically listed in the order. By default, these are sent along by email, but can also be deselected.
Below are some sample templates for different document types.
Sample template: Dear Mr. {NAME},
Enclosed we are sending you the offer you requested.
We hope that you like our offer and would be pleased to hear from you again.
Sample template: Dear Sir or Madam,
Enclosed please find your order confirmation.
Please do not hesitate to contact me if you have any questions.
Sample template:
Sehr geehrte Damen und Herren,anbei übersenden wir Ihnen unsere Bestellung.Bitte senden Sie uns als Bestätigung für den Empfang eine Auftragsbestätigung per Fax an: +49 XXX XX XX.Vielen Dank
Sample template:
Sehr geehrter Herr/Frau {NAME},anbei finden Sie Ihre Rechnung. Gerne stehen wir Ihnen weiterhin zur Verfügung.Ihre Rechnung ist im PDF-Format erstellt worden.Sehr geehrter Kunde,anbei übersenden wir Ihnen unseren Lieferschein.
Sample template:
Dear Mr/Mrs {NAME}, Please find enclosed your invoice. We will be happy to continue to serve you. Your invoice has been created in PDF format.
Sample template:
Sehr geehrter Kunde,soeben wurde Ihr Bestellung zusammengestellt. Sie können Ihre Ware jetzt abholen. Sind Sie bereits bei uns gewesen, so sehen Sie diese E-Mail bitte als gegenstandslos an.{VERSAND}Ihr XXX-Team
Sample template:
Sehr geehrter Kunde,Ihr Auftrag Nr. {AUFTRAG} vom {DATUM} wurde soeben aus unserem System storniert.Bereits bezahltes Auftragsguthaben erstatten wir Ihnen in den nächsten Tagen auf dem gleichen Weg (Bank, Paypal, Kreditkarte, etc.) Ihrer Zahlung zurück.Sollten Daten für die Zahlung fehlen, wird ein Sachbearbeiter mit Ihnen Kontakt aufnehmen.Vielen Dank.Ihr XXX Team
Typ: Shipping
Sample template:
Sehr geehrter Kunde,soeben wurde Ihre Bestellung zusammengestellt und wird in Kürze unserem Versandunternehmen übergeben.{VERSAND}Ihr XXXX Team
Variables:
-
{VERSAND} → returns tracking number and tracking link
-
{VERSANDTYPE} → returns the type from the shipping type module
-
{VERSANDBEZEICHNUNG} → returns the label from the shipping type module
-
{TRACKINGNUMMER} → returns tracking number
-
{NAME} → returns the name of the customer
-
{ADDRESS} → returns the salutation from the "cover letter off" field
-
{ANSCHREIBEN} → returns the cover letter
-
{BELEGNR}{YOUR ORDER NUMBER} → returns the document number together with the order number
-
{INTERNET} → returns the internet order number from the store.
-
{AUFTRAGDATUM} → returns the date of the order
-
{LIEFERADRESSE} → returns the delivery address
-
{LIEFERADRESSELANG} → returns the delivery address (long)
You can find out how to automatically send a tracking mail here.
Example of shipping email with IF blocks and multiple shipping providers in one shipping confirmation:
Hallo {NAME},es dauert nicht mehr lange, Deine Bestellung wurde heute versendet und ist` unterwegs!{IF}{VERSANDTYPE}="DHL"{THEN}Das Paket mit der Sendungsnummer {TRACKINGNUMMER} hat unser Lager heute verlassen und die Daten wurden an DHL elektronisch übermittelt. Bitte beachte, dass sich der Sendungsverlauf erst beim Eingangsscan von DHL aktualisiert. Du kannst Deine Sendung hier direkt verfolgen:https://www.meinefirma.de/tracking/?tracking-code=DE~{TRACKINGNUMMER}~{LIEFERPLZ}{ENDIF}{IF}{VERSANDTYPE}="DPD"{THEN}Das Paket mit der Sendungsnummer {TRACKINGNUMMER} hat unser Lager heute verlassen und die Daten wurden an DPD elektronisch übermittelt.Du kannst Deine Sendung hier direkt verfolgen:https://www.dpd.com/tracking/(lang)/de_DE{ENDIF}{IF}{VERSANDTYPE}="sevensenders"{THEN}Das Paket hat unser Lager heute verlassen und an einen Partner zur Auslieferung übergeben. Sobald Deine Bestellung im Lager unseres Partner eingetroffen ist, erhältst Du eine weitere Email mit einer Trackingnummer. Dies kann je nach Land 5 Werktage dauern.{ENDIF}
Typ: PaymentDiff
Sample template:
Sehr geehrter Kunde, bezüglich Ihrer Zahlung zum Auftrag Nr. {AUFTRAG} vom {DATUM} in Höhe von {GESAMT} EUR gab es bei der Zuordnung eine Zahlungsdifferenz von {REST} EUR. Bitte überweisen Sie noch den Fehlbetrag in Höhe von {REST} EUR mit dem angegebenen Verwendungszweck auf unser Konto: Verwendungszweck: {AUFTRAG} XXXXIBAN: DEXXXXBIC: DEUXXXX Bitte beachten Sie bei der Zahlung: eventuelle Gebühren dürfen nicht zu unseren Lasten gehen.Ihr XXXX Team
Typ: PaymentMiss
Sample template:
Sehr geehrter Kunde, bezüglich Ihres Auftrags Nr. {AUFTRAG} vom {DATUM} in Höhe von {GESAMT} EUR senden wir Ihnen die Zahlungsinformationen zu. Sollten Sie zwischenzeitlich den Betrag überwiesen haben, sehen Sie diese E-Mail bitte als gegenstandslos an. Verwendungszweck: {AUFTRAG} Betrag: {REST} XXXXX Bank: XXXXXX BIC: XXX IBAN: DEXXXXX Bitte beachten Sie bei der Zahlung: Eventuelle Gebühren dürfen nicht zu unseren Lasten gehen. Zwischenverkauf vorbehalten - sollte ein Artikel ausverkauft sein, werden wir Sie so schnell wie möglich mit der neuen Ware beliefern. Ihr XXXXX Team
Note
The variable {Order} shows the store order number (internet number) for orders that were imported from an online store, if this was imported into Xentral. If an order does not have an internet number, the order number from Xentral will be used.
Important
To send automatic payment reminders, the process starter payment mail is required. The process starter sends the payment reminder to the customer after the set number of days. You can configure this setting under Dunning → Settings. The "Payment mail" checkbox must be activated in the project (see screenshot).
Under Optional conditions only "lager_ok" or "check_ok" may be entered. These conditions refer to the order status indicator. With "lager_ok" the payment mail will only be sent if the article is in stock, i.e. the stock light is green. For "check_ok" the customer check must be passed. Otherwise the field is to be left empty.
The process starter sends the first mail with the payment reminder to the customer after 6 days (default setting). After 11 days, an email is sent to the own email address set in the company data, so that the accounting department can cancel the order if necessary.
Typ: PaymentOK
Sample template:
Sehr geehrter Kunde, Ihre Zahlung zum Auftrag Nr. {AUFTRAG} vom {DATUM} in Höhe von {GESAMT} EUR konnte zugeordnet werden. Ihr XXXXX Team
Note
By default, the automatic payment confirmation is sent by a traditional trigger command as soon as the payment is received on your business account. However, the paymentOK email is sent only when there is an incoming payment on the order. The "Payment mail" option must be enabled in the project. In the business account settings, the "no email" check mark must not be set then.
Below you can see the variables you can use in the business letter templates.
You can use these variables for the address:
Variable |
Meaning |
{ANSCHREIBEN} |
Address cover letter field |
{FREIFELD1} |
Address-Free field 1 |
{FREIFELD2} |
Address-Free field 2 |
{FREIFELD3} |
Address-Free field 3 |
{KUNDENNUMMER} |
Customer number of the customer |
{LAND} |
ISO country code |
{LIEFERADRESSE} |
Delivery address: Only if delivery address is specified as different, otherwise "Corresponds to billing address" appears. |
{USTID} |
VAT number of the customer |
{GLN} |
Address-GLN |
{LIEFERGLN} |
GLN of the delivery address |
{ADRESSE_RECHNUNG_GLN} |
GLN from the deviating billing address |
You can use these variables for the document details:
Variable |
Meaning |
{BELEGNUMMER} |
Document number of the current document |
{IHREBESTELLNUMMER} |
Your order number / commission |
{INTERNET} |
Store order number for imported orders |
{LIEFERBEDINGUNG} |
Delivery terms e.g. Delivered free of charge |
{LIEFERTERMIN} |
Draws from "Requested delivery date" field |
{TRACKINGNUMMER} |
Tracking number if shipping label was generated and tracking confirmed |
{VERSANDARTBEZEICHNUNG} |
Shipping method designation |
{ABWEICHENDEBEZEICHNUNG} |
Tick for different designation set. This is important for other text in case of different document description via IF blocks. |