Skip to main content



After reading this, you can explain how templates work.


Templates are blueprints for CashBoxes. They provide a fast way to set up fully configured CashBoxes based on pre-configured layouts.

Templates follow the same JSON structure as shown in the CashBox chapter, with the main difference that they are not the configuration of an actual CashBox instance but are used to create such in a second step. Consequently, their configuration entries are either hardcoded default values, used for all instances created with the respective template, or variables set at runtime.

Instantiating a template

There are two different ways you can use templates to create a new CashBox.


You'll find a number of pre-configured templates in the shop under Shop / Products. Either fiskaltrust, PosCreators, or PosDealers provided these templates. You can add them to your shopping cart like any other product or clone them to modify them for your needs. After submitting your order, the portal will create a new CashBox based on the template's configuration.

Please see the chapter Shop Templating for more details.


Another way to create CashBoxes based on templates is to use fiskaltrust's REST API. You do not need to pre-configure any template in the portal in this case but can send custom templates with your requests.

Please see the chapter API Templating for more details.


Variables are substitute entries for dynamically configured values. Your rollout replaces these with actual content. You denote a variable by its name being wrapped into |[ and ]|.

For example, to use the variable my_variable in a template, you'd use |[my_variable]| at the location where you want to use its eventual value.

Pre-defined system variables

The following variables are pre-defined and will be populated automatically by auto-generated or pre-defined values with the templates rollout.

Curly brackets denote dynamic values.

cashbox_descriptionDefaults to the same value as description.
cashbox_idA random UUID for the CashBox. Used to set or reference the CashBox ID.
cashbox_ipaddressThe IP address of the machine where the CashBox is running. Defaults to an empty string.
cashbox_producttypeThe product type.
countThe number of queues in your account, plus one.
descriptionDescription of the CashBox, defaulting to ft{UTC timestamp} (e.g., ft19700101000000).
helper{0-9}_descriptionDefaults to the same value as description.
helper{0-9}_idTen random UUIDs for helper components. Used to set or reference helper IDs.
helper{0-9}_urlTen helper URLs, defaulting to net.pipe://localhost/{helperX_id}.
outlet_numberThe number of outlets in your account, plus one.
queue{0-9}_descriptionDefaults to the same value as description.
queue{0-9}_id_base64withoutspecialcharsBase64 representation (filtered for alphanumeric characters) of the respective queue{X}_id value.
queue{0-9}_idTen random UUIDs for queue components. Used to set or reference queue IDs.
queue{0-9}_urlTen queue URLs, defaulting to http://localhost:1200/fiskaltrust{X}.
scu{0-9}_descriptionDefaults to the same value as description.
scu{0-9}_idTen random UUIDs for SCU components. Used to set or reference SCU IDs.
scu{0-9}_urlTen SCU URLs, defaulting to net.pipe://localhost/{scuX_id}.

Templates for Austrian CashBoxes only make use of the standard variables.

Custom variables

In addition to the pre-defined system variables, API templating also allows you to use custom variables and set their respective values when running the API request.

Please see the chapter API Templating for more details.


Custom variables are only available when using the API.

Template structure

Templates are classic JSON documents with a root object and five root-level fields.

"ftCashBoxId": "|[cashbox_id]|",
"ftSignaturCreationDevices": [],
"ftQueues": [],
"helpers": [],
"TimeStamp": 0
ftCashBoxIdStringyesIndicates the ID of the CashBox. Typically, the variable cashbox_id here, to ensure a unique value is selected when the template is instantiated.
ftSignaturCreationDevicesArray of package objectsnoA list of all SCUs managed by this CashBox.
ftQueuesArray of package objectsnoA list of all queues managed by this CashBox.
helpersArray of package objectsnoA list of all helpers managed by this CashBox.
TimeStampNumbernoThe time when the CashBox was updated. Please see DateTime for more details on the format.

The arrays ftSignaturCreationDevices, ftQueues, and helpers each contain package object entries for each component the Middleware is supposed to service for the given component type.

Package object

A package object specifies the entire setup configuration of an individual component (e.g., queue or SCU).

"Id": "",
"URL": [],
"Package": "",
"Version": "",
"Configuration": {},
"Description": ""
IdStringyesThe identifier of this component. Typically, you'll use one of the relevant system variables here.
URLArray of stringsyesOne or more URLs under which you can reach this component.
PackageStringyesThe package name
VersionStringnoThe package version to be used. If not specified, you will use the current version.
ConfigurationObjectnoThe configuration data for this component.
DescriptionStringnoA description of this component.