Template settings
In short
The template settings apply to the whole template: paper size and margins, the default font with line spacing and indent, the language and how date, amounts and numbers are printed, the default for tables, the e-invoice, keep-warm, the data sources and the sample record. What you set here applies wherever nothing of its own is entered on the individual object or field. The page shows every change immediately; it becomes valid with “Apply” and is stored in Dynamics with “Save”. How language, date, amounts and numbers are printed is described on the page Numbers, currency and dates. The fonts that apply to all templates in your environment are described on the page Image library and fonts. How the e-invoice works is described on the page E-invoice: ZUGFeRD and XRechnung.
Opening, applying or discarding the window
You reach the window “Template settings” in two ways:
- through the button “Template settings” with the small gear in the template row, between the template selection and “New” (see Managing templates: The template row). If you point at it with the mouse, “Page size & margins” appears; the window, however, contains all settings of this page and those of the page Numbers, currency and dates;
- through the blue button “⚙ Template settings” on the right under “Properties” when nothing is selected (see The properties panel: When nothing is selected).
Both buttons exist as soon as a template from the list is open. After “Import” they are missing until you have stored the file as a template with “Duplicate” (see Managing templates: After opening). There is no keyboard shortcut for opening it. When you create a new template, step 2 is the same window (see As step 2 of “New template”).
At the top of the window there are five tabs: “Page”, “Font”, “Numbers & date”, “E-invoice” and “Data”. Each tab is divided into sections with a small heading that appears in capital letters on screen. When first opened, “Page” is active; after that the window opens on the tab you used last, until you reload the designer. Switching tabs applies and discards nothing. The window has a fixed size and cannot be dragged at the edges; if a tab is longer, its content scrolls, and the tab bar scrolls along. In a narrow browser window, fewer fields sit side by side. Next to many settings there is an ⓘ with a detailed explanation (see The properties panel: Sections, expandable areas and the ⓘ).
- 1“✕ Close”: works like “Cancel” and saves nothing.
- 2The five tabs; here “Page” is active. Switching applies and discards nothing.
- 3The ⓘ behind a label opens a detailed explanation of the setting.
- 4Pale and disabled: width and height can only be changed with “Custom size (mm)”.
- 5“Cancel” closes the window; if something was changed, a confirmation prompt comes first.
- 6“Apply” keeps all changes in the open template. It is stored in Dynamics only with “Save”.
- Open the window and click the tab you need.
- Set what you need. The page behind the window shows every change immediately. This is a preview; nothing has been applied yet.
- At the bottom right, click “Apply”. The window closes. The settings now apply in the open template. With Ctrl+Z you undo all changes from the window together in one step.
- In the template row, click “Save” so that the settings are stored in Dynamics.
| Button or key | What happens |
|---|---|
| “Apply” (blue, bottom right) | Keeps all changes in the open template and closes the window. All changes from the window become a single undo step. Nothing is saved in Dynamics yet. |
| “Cancel” (left of “Apply”) | Closes without applying. If you have changed nothing, the window closes immediately; otherwise the confirmation prompt appears (see below). The whole template is compared with its state when the window was opened. |
| “✕ Close” (top right) | Like “Cancel”. The button saves nothing. |
| Esc key, click next to the window | Like “Cancel”. If an ⓘ help window, the window “Choose field”, “Manage fonts”, “New font family” or “Files for »…«”, the window “Manage data sources”, the window “Condition branches: …” or a confirmation prompt lies over it, the Esc key closes that first. In the window “Condition branches: …” it works like “Done” and, like it, is disabled as long as a branch has a chosen field without a value (see Numbers, currency and dates: Condition branches). You close the small list at currency symbol and decimal places with the mouse (see Numbers, currency and dates: Value or field). |
If you have changed something, the designer asks in the window “Please confirm”: “Discard changes that were not applied and close?”
- “Discard” (red) restores the state from when the window was opened and closes it. The undo steps from the window are dropped, and there is nothing to redo afterward either. If the data sources or the sample record changed in the window, the designer reloads the sample data of the old state.
- “Cancel”, the Esc key or a click next to the confirmation prompt close only the prompt; the template settings stay open.
- When the prompt opens, “Discard” is preselected. If you press the Enter key, it is therefore discarded.
Good to know
Two buttons take effect immediately and cannot be undone with “Discard”: “⚙ Manage fonts” uploads fonts to Dynamics or deletes them (see Image library and fonts: The “Manage fonts” window), “🔧 Check keep-warm” sets up keep-warm (see Keep warm). Neither is part of the template. If, on the other hand, you open “⚙ Manage data sources” from this window, the work confirmed there belongs to the state of this window: “Apply” keeps it, “Cancel” and “Discard” take it back again.
As step 2 of “New template”
When you create a template with “New”, step 2 is this window (see Creating a new template). Tabs and fields are the same; only this is different:
- The window is called “New template”. Above the tabs there are “Step 2 of 2”, the name from step 1, which you can still change here, and “Data source: …” with the primary source.
- It always opens with the “Page” tab.
- At the bottom right there is “Create template” instead of “Apply”. The button creates the template with all settings in Dynamics and opens it.
- At the top right there is “✕ Cancel” instead of “✕ Close”. Here, canceling always asks whether the draft should be discarded; you cannot go back to step 1.
- If the primary source has a currency, “Take the currency from the record” is already checked; you can uncheck it.
- Under “PDF name” in the “Page” tab, the name field of the primary source is already entered; you can change or empty it (see PDF name).
- “⚙ Manage fonts” and “🔧 Check keep-warm” also take effect immediately in Dynamics here, even if you discard the draft afterward.
In a building block
If a building block is open, there is a yellow note with the building block symbol at the top of the window: “This is a building block. Language, number and currency format, date and font only apply to its preview — when printed, those of the template it is in apply. The page is the area of the building block (margins 0).” A building block does not create a document; that is why the “E-invoice” tab, in the “Data” tab the keep-warm and in the “Page” tab the PDF name are missing. More under Building blocks: What is different in a building block.
“Page” tab
Here you set the paper size, the margins, the guides of the canvas, the default for tables and the name of the file. The tab has five sections: “Page”, “Margins”, “Guides”, “Tables” and “PDF name”; the margins and “Ignore page margins (use the full page)” are described under Margins. Everything except the guides takes effect in the PDF.
| Setting | What it does | Default |
|---|---|---|
| “Page size” | The paper size: A4, A3, A5, Letter, Legal or “Custom size (mm)” (see Page size and custom size). A fixed size immediately sets width and height to its dimensions. | A4 |
| “Width (mm)”, “Height (mm)” | The dimensions of the page. Changeable only with “Custom size (mm)”; with a fixed size the fields are disabled and pale; if you point at them with the mouse, “Can only be changed with a custom size” appears. | 210 and 297 mm |
| “Show guides in the designer — in the whole template” | Shows the dashed outlines of groups, areas and table cells on the canvas (see Guides). They never appear in the PDF. | on |
| “Repeat header row on following pages” | The default for all tables of the template that run over several pages (see Tables). | on |
| “File name (without .pdf)”, “Maximum characters” | What the file created from the template is called, and how long the name can be at most (see PDF name). | empty, for a new template the name field of the primary source |
Page size and custom size
| Entry in the list | Width × height |
|---|---|
| “A4 (210 × 297 mm)” | 210 × 297 mm, the usual letter format |
| “A3 (297 × 420 mm)” | 297 × 420 mm |
| “A5 (148 × 210 mm)” | 148 × 210 mm |
| “Letter (215.9 × 279.4 mm)” | 215.9 × 279.4 mm, the US letter format (8.5 × 11 inches) |
| “Legal (215.9 × 355.6 mm)” | 215.9 × 355.6 mm (8.5 × 14 inches) |
| “Custom size (mm)” | what is in “Width (mm)” and “Height (mm)” |
- Fixed size: Width and height jump immediately to its dimensions. If you had entered custom dimensions before, they are overwritten.
- Custom size: The existing numbers stay and can be changed. The arrow keys on the field change in steps of 0.5 mm; more than 5000 mm is not possible. Width and height must be above 0 mm. The field does not accept a 0 or a negative number: the designer reports for about three seconds “A page needs a width and a height above 0 mm — this value was not applied.”, and when you leave the field the old value is back in it. A field you have emptied immediately counts as 210 or 297 mm and shows that number when you leave it.
- Letter and Legal have the exact US dimensions so that a printer recognizes the page as Letter or Legal. An older template with 216 × 279 or 216 × 356 mm keeps its dimension and continues to be called “Letter” or “Legal” until you choose the page size again.
- On the canvas the pages change their size immediately. The objects keep their dimensions and their distance from the edge; on a smaller page, something can therefore protrude beyond the edge.
- In the PDF the page has exactly the set width and height. Whatever protrudes beyond the page edge is cut off, and the document reports it (see Position, size, rotation and arrangement: Where the PDF really cuts off). If no space is left between the margins, it reports that as well.
Tip
There is no separate switch for landscape format. Choose “Custom size (mm)” and swap width and height, so for A4 landscape 297 × 210 mm.
Margins
The margins are the distance all around between the page edge and the printed area; the content of the document is in the printed area. What nevertheless reaches into a margin, such as a header or footer or an object with “Fixed position”, is printed there; what protrudes beyond the paper edge is missing in the PDF, and the document reports it (see Position, size, rotation and arrangement: Where the PDF really cuts off). The position of an object directly in the document counts from the left and the top margin (see Position, size, rotation and arrangement: Position directly in the document).
| Setting | What it does | Default |
|---|---|---|
| “Ignore page margins (use the full page)” | Sits as a row of its own above the four margin fields. With a check mark, 0 mm applies all around, good for colored bars across the full width. Positions then count from the page corner, including those of headers and footers. The margin fields are disabled and pale; when you point at them with the mouse, “No effect while »Ignore page margins« is on — the value stays saved” appears. Uncheck the box, and the entered values apply again. | off |
| “Top margin” | Distance between the top edge of the page and the content. Headers and footers also count their position from here. | 18 mm |
| “Right margin” | Distance to the right page edge. Together with the left margin it determines the usable width: page width minus both margins. | 15 mm |
| “Bottom margin” | Distance between the content and the bottom edge of the page. This is where the content of a page ends; if there is a footer at the bottom, it ends above it. What no longer fits usually goes onto the next page; the exceptions are described under At the page edge. | 18 mm |
| “Left margin” | Distance to the left page edge. All objects move along. | 20 mm |
- An empty margin field immediately counts as the default, on the canvas as well as in print; when you leave it, the default is in the field. For “no margin”, enter 0.
- The arrow keys change in steps of 0.5 mm, at most 5000 mm. The field accepts negative numbers; the document is then created anyway but reports the negative margin. Enter 0 or more.
- If no space is left between the left and right or the top and bottom margin, the document reports it.
- The page border that you set on the right under “Properties” when nothing is selected is independent of the margins (see Pages, header and footer: Page border).
Tip
Many printers cannot print right up to the page edge. If a document should also look good printed out, keep important content a few millimeters away from the edge when “Ignore page margins” is on.
The footer moves along
A footer that ends exactly at the bottom edge of the printed area moves along if you choose a fixed size under “Page size” or change “Height (mm)”, “Top margin”, “Bottom margin” or “Ignore page margins”. It then ends at the new bottom edge again, that is, at the page edge if “Ignore page margins” is checked. “Width (mm)”, “Right margin”, “Left margin” and the mere switch to “Custom size (mm)” do not move it. On the canvas it jumps along immediately; in the PDF it is at the new place, and the remaining content ends above it.
- This refers to a group directly in the document with “🔁 Repeat on every page” and an entered height (see Groups: Repeat on every page and Pages, header and footer: Header and footer).
- Whether a footer moves along is decided by the designer when the window is opened: it must end exactly at the bottom edge to within half a millimeter and start below the top margin. A footer that reaches into the bottom margin, lies entirely in it or lies below the page stays where it is.
- If the footer, when moving along, would run into the top margin, it stays where it was. This happens, for example, at an intermediate state while you type a height; at the right value it moves along.
- Merely opening the window moves nothing. Moving along also applies in step 2 of “New template”.
Guides
“Show guides in the designer — in the whole template” shows or hides the dashed orientation lines of the canvas: the outlines of areas and groups, the outlines of the table cells and the dashed edges of tables without a printed line. Where there is a real border line, there is no guide anyway. What stays visible is the selection frame of selected objects, the outlines of selected groups, areas and table columns, and the snap lines when dragging. Guides never appear in the PDF.
You find the same check mark in the properties of a table; both always show the same state and apply to the whole template. How guides, gridlines and snap lines differ is described under Working on the canvas: Gridlines, snap lines and guides.
Tables
At the very bottom of the tab is the section “Tables” with a single check mark, the default for all tables of the template. It used to be in a tab of its own; its place is now taken by the “E-invoice” tab (see “E-invoice” tab).
| Setting | What it does | Default |
|---|---|---|
| “Repeat header row on following pages” | If a table runs over several pages, its header row appears once more at the top of every following page. Without a check mark it appears only once above the first row, and its place on the following pages becomes free. | on |
Below it says: “Default for all tables in this template. Each individual table can differ — the switch is there under »Show header row«.”
- The individual table has the same check mark in its properties under “Show header row”. It shows what currently applies for this table, including the default of the template. A click on it sets the value firmly on this table; it then no longer follows the default of the template, and there is no way back to “as in the template” in the designer (see Cells, header row and page break: Header on following pages and Free-form tables: The properties of the table).
- In the PDF, the setting of the table applies first, then the default here, otherwise it is repeated. Without repetition the rows on the following pages move up; the table then often needs one page less, sometimes also one more. Only tables directly in the document that really run beyond one page are affected. A table in a group or cell shows its header only once, no matter whether this check mark or the one on the table is set. If “Show header row” is off on a table, there is no header to repeat; its check mark “Repeat header row on following pages” is then grayed out. How header and first row move together to the next page is described under Cells, header row and page break: Header on following pages.
- On the canvas you see the effect only for tables with rows typed in by hand that run over several pages: on the following page there is a copy of the header (when you point at it with the mouse, “Repeated header row (continuation of the table)”). A table that takes its rows from the data shows only one sample row on the canvas; there you see the effect only in the full preview and in the PDF.
- Check mark off means the template carries “do not repeat”. If you set it again, nothing about it is stored in the template any more, and repeating applies again.
PDF name
At the very bottom of the tab is the section “PDF name”. It determines what the file created from this template is called.
| Setting | What it does | Default |
|---|---|---|
| “File name (without .pdf)” | The name as text with placeholders, for example Rechnung {{invoicenumber}}. The button on the right next to the field inserts a field or a variable at the text cursor. With “Condition branch” you define exceptions, for example Invoice {{invoicenumber}} for customers abroad; the window for this is the same as for “Currency & numbers” (see “Numbers & date” tab). |
for a new template the name field of the primary source, otherwise empty |
| “Maximum characters” | Shortens the name to this many characters; .pdf does not count. 1 to 200 are possible; a larger number sets the field to 200. |
empty: at most 200 |
Under the field, a blue line shows the name for the sample record, for example “With the sample record: Rechnung_R-2026-0042.pdf”. Below it says: “Empty: the file is named as before. Characters that are not allowed in file names, and spaces, become »_«; ».pdf« is added and does not count towards »Maximum characters«. An e-invoice »XML only« gets the same name, with ».xml«.”
- Where the name applies: for the PDF attachment of the emails that a button or an action creates, for the output
FileNameof the actions that a flow or custom code receives (see Actions and APIs: Outputs), for “PDF” and “Download PDF” in the designer and as the title of the PDF in its document properties. An e-invoice “XML only” gets the same name, with.xml(see E-invoice: The file name). - How the name is formed: once per document on the main record, after the pages have been built; a placeholder supplies the same value as in the document. Characters that are not allowed in a file name (
\ / : * ? " < > |), control characters and any whitespace, including the non-breaking space, become_; invisible characters are dropped. If it is shortened,_and periods at the end are dropped. - Without an entry, the file is named as before: the email attachment like the template, the download in the designer like the template in lowercase (see Full preview and PDF: The file name). If the name yields nothing for a record, for example because the field is empty, the file is named like the template everywhere, with
-instead of the characters that are not allowed in file names, as the email attachment has always been named (so in the designer not in lowercase); a note then appears in the feedback. - For a template without an entry, the button “Insert the name field of the main source” is under the note. It enters the name field of the primary source, as a new template gets it. Which field that is, Dynamics says; for an invoice it is usually
{{name}}, for custom tables, for example,{{contoso_name}}. - Nothing changes on the canvas.
“Font” tab
The section “Font” contains the defaults for all texts of the template. They take effect on the canvas and in the PDF; the only exception is “Minimum lines when text is split”, which you see only in the full preview and in the PDF.
- 1The default font of the template. Arimo is always included and does not need to be uploaded.
- 2Opens the window in which you upload fonts; it applies to all templates in your environment.
- 3Line spacing and indent: defaults for all texts without an entry of their own. Empty means 1 or 5 mm.
- 4The note mentions once more how to upload fonts.
- 5Minimum lines when text is split: Empty means 2. You see the effect only in the full preview and in the PDF.
| Setting | What it does | Default |
|---|---|---|
| “Default font” | The font for everything that has no font of its own: texts, tables, header and footer. The choice applies equally to body text and headings (see Default font). | “Default (Arimo)” |
| “⚙ Manage fonts” | Opens the window in which you upload, replace, download and delete fonts, for all templates in your environment (see Image library and fonts: The “Manage fonts” window). Takes effect immediately. | – |
| “Default line spacing (1 = single)” | The line spacing of every text that has nothing of its own: 1 single, 1.5 one and a half, 2 double, at most 5 (see Line spacing and indent). | empty = 1 |
| “Indent per bullet level (mm)” | How far bullets, numbering and indent are indented per level, at most 20 mm. A different value changes where the lines break. | empty = 5 mm |
| “Minimum lines when text is split” | If a text is split at the page edge, each page keeps at least this many lines of it. 1 to 9 are possible; 1 turns the protection off (see At the page edge: Minimum lines when text is split). | empty = 2 |
Under the fields there is a gray note that mentions uploading via “Manage fonts” and says that individual texts can differ from this font. If an older template carries a different font for headings than for body text, it says instead: “This template still has »…« saved for headings. As soon as you choose something here, your choice applies to both.”
Default font
The list “Default font” is divided into groups:
- “Default (Arimo)” at the very top: No font is entered, Arimo is printed. Arimo is supplied in all four styles (regular, bold, italic, bold italic); you do not need to upload it anywhere.
- “Uploaded fonts”: all font families that are in your Dynamics environment, sorted by name and each in its own typeface. In Dynamics, “Arimo” is always here as well. If you choose this entry, the name is in the template; printing works as with “Default (Arimo)”. A template created with “New” carries this entry. If you have uploaded a font named Arimo yourself, yours takes precedence over the supplied one.
- “Old default”: If an older template still carries an earlier default such as “Segoe UI”, it appears here as “… — old default, Arimo is used”. Arimo is printed, without a warning.
- “Not uploaded”: If the template names a font that is not in the list, it appears here as “… — missing under »Fonts«”.
Opening the window changes nothing about the entered font; something is written only when you choose yourself. If the template contains a name in a different spelling, such as “roboto”, the list shows the matching entry “Roboto” as chosen. Individual passages of text can carry a different font in the window “Edit text” (see The “Edit text” window: Size, font and line spacing).
- On the canvas, all texts without a font of their own are immediately drawn and measured in the chosen font; line breaks and page breaks are therefore already correct on the canvas.
- If a font is not uploaded, the canvas draws Arimo and reports: “The font »…« is not stored under »Fonts«. The canvas and the printout therefore use Arimo — upload the font so that the canvas and the PDF match.” If only the regular style is missing, it reports: “The font »…« has no regular style. The existing styles are used; where none fits, Arimo is used. …” After a brief network disruption, the designer tries again by itself after a pause; until then the canvas can differ from the PDF. If an uploaded font file cannot be read in the browser, the designer reports that too. Printing reads the file in its own way, and the canvas can then likewise differ from the PDF.
- In the PDF the chosen font is embedded. If it is missing, the document prints Arimo and reports the substitution as a warning. If the canvas was still built with the original font, line breaks and page breaks in the PDF can differ. If the canvas already draws Arimo, canvas and PDF match; only the desired font is missing. Text set to italic is then slanted, according to the designer’s help, because Arimo has all four styles. If only one style is missing, such as the italic one, it prints the regular style of the same family, and a warning appears under the created document (see Problems and messages: Notes and warnings). The warning belongs to the document: it appears in the full preview just as when printing via a button. An artificially slanted font is deliberately not provided.
What is printed in each case when something is missing from the chosen font:
| What is missing | What is printed |
|---|---|
| The whole font | Arimo; the document reports the substitution as a warning. |
| The style “Bold” | Bold text appears in normal stroke weight. |
| The style “Italic” | Italic text appears upright. |
| The style “Bold italic” | The text appears upright and in normal weight. |
| The regular style itself | The existing styles are used; where none fits, Arimo is used. |
Line spacing and indent
- “Default line spacing (1 = single)”: Values above 0 up to 5 are possible, the arrow keys change in steps of 0.05. Empty, 0 or a negative number means 1; nothing is then stored in the template. When this default applies and when a setting that sits closer to the text takes precedence is described under Texts: Line spacing. A new text object takes over the value of the template by itself; on an object, an empty field again means “from the template”.
- What it covers in the PDF: text objects and cells from the column designer. Simple column values and the header row of a data table appear single-spaced as long as the table has no line spacing of its own (see Data tables: The properties of the whole table). How the spacing is shown in the window “Edit text” and that printing is authoritative is described under Texts: Line spacing.
- “Indent per bullet level (mm)”: Values above 0 up to 20 mm are possible, the arrow keys change in steps of 0.5. Empty, 0 or a negative number means 5 mm, the value of all existing templates; a number larger than 20 counts as 20. The one value applies to all levels: the second level is indented twice as far, the third three times, at most five levels. It applies to bullets, numbering and the indent buttons “⇥” and “⇤” in the window “Edit text” (see The “Edit text” window: Lists and indent).
- Consequence of a different indent: The lines become narrower or wider and break at different words. A text can become one line longer, and in the borderline case a page is added. Canvas and PDF calculate the same way.
Minimum lines when text is split
The field “Minimum lines when text is split” determines how many lines of a text that is split at the page edge stay on each page (empty means 2, 1 to 9 are possible, and 1 turns the protection off); for which texts the protection applies, how the field treats entries and what is different for background and border is described under At the page edge: Minimum lines when text is split.
“Numbers & date” tab
This tab determines in which language and number style the document prints date, time, numbers, amounts and Yes/No. It has four sections: “Template language”, “Date & time”, “Currency & numbers” and “Option label language”. How it works in detail is described on the page Numbers, currency and dates. That page also covers the condition branches with which five of the settings can be switched depending on the customer, and the question of which entry applies if a value is set in several places (see Numbers, currency and dates: “Numbers & date” tab). Here it only says which fields the tab has.
| Setting | What it does | Default |
|---|---|---|
| “Template language” | Determines how the document writes date, numbers and Yes/No as long as nothing of its own is set below it (see Numbers, currency and dates: Template language). | German (Germany); in the English designer English (United States) |
| “Date format” | The format of pure date values (see Numbers, currency and dates: Date & time); with “(custom pattern)” you type a pattern of your own (see Numbers, currency and dates: Custom pattern). | “Default (regional)” |
| “Date + time format” | The format of values with a time (see Numbers, currency and dates: Date & time). | “Default (regional)” |
| “Take the currency from the record” | Symbol and decimal places come from the currency of the printed record (see Numbers, currency and dates: Currency from the record). | off; for a new template on if the primary source has a currency |
| “Currency symbol” | The character on every amount, after or before it depending on the number style (see Numbers, currency and dates: Where the currency symbol appears). | empty = € |
| “Decimal places (currency)” | To how many decimal places money amounts are rounded and printed (see Numbers, currency and dates: Currency & numbers). | 2 |
| “Number style (comma/period)” | Which character separates the decimal places and which the thousands (see Numbers, currency and dates: Currency & numbers). | By template language |
| “Thousands separator” | Whether and when to separate (see Numbers, currency and dates: Currency & numbers). | As before |
| “Option label language” | In which language choice, Yes/No, status and status reason fields print their label from Dynamics; the languages installed in Dynamics are offered (see Numbers, currency and dates: Option label language). | By template language |
| Condition branch | Under each of the four fields from “Currency symbol” to “Thousands separator” and under “Option label language” there is a button for exceptions depending on the customer (see Numbers, currency and dates: Condition branches). | – |
“E-invoice” tab
Here you switch the e-invoice on and set it up. At the very top there is always the box “The AI can fill in the assignment for you” with the buttons for the AI and the steps up to the finished e-invoice. Below it, as long as the e-invoice is switched on, are the sections “E-invoice” with the switch and the assignment, “Default”, “Output” and “Only if …”, and at the end the explanation “Standard EN 16931”. Without an e-invoice, it shows under the box only the switch and the explanation of the standard. How assigning, checking and delivering work is described on the page E-invoice: ZUGFeRD and XRechnung.
| Setting | What it does | Default |
|---|---|---|
| “Open AI assistant”, “Download AI package” (box “The AI can fill in the assignment for you”) | An AI assigns the entries for you. “Open AI assistant” exists only in Dynamics; template and task are then in the clipboard, for a new template only after “Create template”. “Download AI package” opens the window “AI package” with the check mark “Include the e-invoice standard” set. Below it are the steps up to the finished e-invoice; the third step counts like the bar (see E-invoice: Assigning with AI). | – |
| “This template creates an e-invoice” | With every document, an e-invoice according to the chosen standard is created in addition. Switching it off keeps all assignments; the template then prints as before. When first switched on, Smart Templates chooses ZUGFeRD 2.5.2 (EXTENDED) with the output “PDF with embedded e-invoice” (see E-invoice: Switching on and “Only if …”). | off |
| “Only if …” | A condition in the building kit of the visibility rule. The e-invoice is created only for documents to which it applies; otherwise the document is created as before, without e-invoice and without a message. It is best to name the exceptions, for example “Invoice type is not Reminder” (see E-invoice: “Only if …”). | for every document |
| “Default” | The selection between “XRechnung 3.0”, “ZUGFeRD 2.5.2 (EXTENDED)” and own standards. Below it are version, “valid from” and the origin: “supplied, cannot be changed” or a note that an own standard has not been checked by Smart Templates. “Manage standards …” opens the list of standards (see E-invoice: The standard and Own standards). | ZUGFeRD 2.5.2 (EXTENDED) |
| “PDF with embedded e-invoice”, “e-invoice only (XML)” | What comes out when creating. The PDF with embedded e-invoice exists only for ZUGFeRD; for XRechnung, “e-invoice only (XML)” is fixed. Button, email and flow deliver what is set here (see E-invoice: The output). | PDF with embedded e-invoice (ZUGFeRD) |
| “additionally a PDF for reading” | The reading copy: with “e-invoice only (XML)”, the PDF is additionally created, as the template prints it, without embedded data. The check mark is available only with “e-invoice only (XML)”. | off |
| “Assign entries …”, “Check with sample record” | The bar counts the mandatory entries to which something is already assigned (for example “1 of 14 mandatory entries assigned”). “Assign entries …” opens the assignment window, “Check with sample record” opens it right away with the check (see E-invoice: Assigning entries and Checking with the sample record). If a mandatory entry is missing when creating, or the amounts do not add up, no document is created, only a message. | – |
| “Standard EN 16931” | The explanation of which standard Smart Templates implements. It cannot be changed (see E-invoice: The standard EN 16931). | – |
- The settings belong to the template. “Apply” in the window applies them to the open template, “Cancel” discards them; they are stored in Dynamics with “Save”.
- When saving, the designer checks, if the e-invoice is switched on, whether all mandatory entries are assigned. If something is missing, the message “Warning: For the e-invoice … is still missing …” appears; the template is saved anyway.
- In the new creation window (step 2 of “New template”), the same tab is in the same place.
“Data” tab
The tab has three sections: “Keep warm”, “Data sources” and “Sample record”.
- 1Keeps this template warm; the sentence below says what currently applies.
- 2Checks keep-warm and sets up what is missing again; only in Dynamics.
- 3What the template prints from: primary source and additional sources.
- 4Opens the window “Manage data sources”.
- 5The stored sample record; the full preview, PDF and keep-warm calculate with it.
- 6Open the record in Dynamics or take it out of the template without asking.
Keep warm
Keep-warm regularly creates a test document of this template so that the first document after a break does not take long: if nobody creates a document for a while, Dynamics puts the machine to sleep in the background, and the first document afterward takes ten to seventeen seconds, according to the designer’s help. How this is set up in the environment and how it works is described under Keep warm: How it works.
| Setting | What it does | Default |
|---|---|---|
| “Keep this template warm” | Every 30 minutes a test document of this template is created and immediately discarded: not saved, not sent, without a flow. The check mark applies per template; a warmed invoice template does not make a quote faster. It is saved with the template. | on |
| “🔧 Check keep-warm” | Checks whether keep-warm is still completely set up for all checked templates and restores missing parts. Takes effect immediately and does not belong to the template. | – |
- Note under the check mark: It says what currently applies: with a check mark “On: a test document every 30 minutes, discarded immediately. Does not trigger a flow.”, without one “Off: the first document after a break takes ten to seventeen seconds again.” If the template is inactive in Dynamics, it says “⚠ This template is INACTIVE — the checkbox does nothing here.”
- The check mark is set for every template as long as nobody has explicitly removed it. Switching it off costs only speed for the first document after a break. It changes nothing on the canvas and in the document. Which record is used for warming is described under Keep warm: How it works, which templates are warmed under Keep warm: Switching on and off per template.
- “🔧 Check keep-warm”: What the button displays during and after the check, also outside Dynamics, and why you normally do not need it is described under Keep warm: Checking. You can also set the check mark outside Dynamics, for example in a local preview; it can take effect only in Dynamics.
Data sources
The section shows what the template prints from: “Primary source” with the name of the primary source and, if present, “Additional source” or “Additional sources” with their names. Without a primary source it says “No primary source set yet”.
The button below it opens the window “Manage data sources” (see Data sources and relationships: The “Manage data sources” window). With a primary source it is called “⚙ Manage data sources”; without a primary source it is blue and called “★ Set primary source”; you then choose the primary source in this window. When you point at it with the mouse, it says “Opens the data source manager: primary source, additional sources, relationships and rules.”; you do not find relationships and rules there, however, but in the data tree: the designer fetches relationships from Dynamics itself, and you create rules there (see Data sources and relationships: Relationships and Rules: Creating a rule). The window lies over the template settings; if you close it, this section shows the new state. Confirmed work on sources belongs to the state of the template settings (see Opening, applying or discarding the window).
Sample record
What the sample record is, what it does and what the canvas uses it for is described under Data sources and relationships: The sample record; here the controls of the section are described.
Without a primary source, this section says only “Set the primary source first — then you can save a record here that the full preview and the PDF work with.” With a primary source, this applies:
| Control | What it shows or does |
|---|---|
| “Record” | The name of the stored record; when you point at it with the mouse, its identifier. Without a record, “None saved” in gray; if it has no name, “no name · ” with the first eight characters of the identifier. If it was deleted in Dynamics, “— no longer exists in Dynamics” follows; if it could not be read just now, “— could not be read (no read permission)” or “(loading failed)”. |
| “from” | The source the record comes from. |
| Notes below | Depending on the situation, a note appears below: without a stored record, the note that the designer asks about it before every full preview and every PDF (see Data sources and relationships: The sample record), and in red one of two notes if the record was deleted in Dynamics or Dynamics has just not delivered it. The wording of the two red notes and what happens in both cases is described under Data sources and relationships: When the sample record is missing or unreadable. |
| “Choose sample record” or “Choose another sample record” | Blue as long as none is stored. Opens the window “Choose sample record · …” (see Data sources and relationships: The “Choose sample record” window). After the choice, the designer shows “Loading sample data...”, reloads the sample data and reports “Sample record selected: …”. If you close the selection window without a choice or with “Continue without a sample record”, everything stays as it was. |
| “↗ Open in Dynamics” | Only with a stored record. Opens it as a form in Dynamics, in a new window or tab. |
| “Remove” | Only with a stored record. Takes it out of the template without asking and rebuilds the sample data (“Resetting sample data...”); the additional sources stay loaded. This changes nothing about the document that is printed in Dynamics. |
The sample record is saved with the template and counts as a change in the window: “Cancel” and “Discard” bring back the previous one and reload its sample data.
What changes in the document?
On the canvas
You see page size, margins, default font, line spacing and indent immediately, even while the window is open; the guides exist only here. You see minimum lines and the repeated header row of tables from data only in the full preview. What language, date, amounts, numbers and condition branches change on the page is described on the page Numbers, currency and dates (see Numbers, currency and dates: What changes in the document?).
In the PDF
The page has exactly the set size and the margins; the font is embedded, a missing one is replaced by Arimo (see Default font). Tables directly in the document repeat their header according to the default if they have nothing else set themselves. With the e-invoice switched on, the e-invoice is created in addition; it does not change the appearance of the page (see E-invoice: What changes in the document?). Guides and keep-warm never appear in the document. How date, amount, number and Yes/No are printed without an entry of their own is described on the page Numbers, currency and dates (see Numbers, currency and dates: What changes in the document?).