My First Cashbox
After reading this, you can create a CashBox in the Sandbox and have a functioning fiskaltrust.Middleware instance.
As a PosDealer, you have two options to create your first CashBox in the fiskaltrust.Portal:
- Rollout plans (recommended): the deployment wizards of the Portal. They create, buy and set up CashBoxes and related components for your PosOperators, and you can select several PosOperators and outlets at the same time. For more information, see Rollout plans.
- Manual configuration: you create the components yourself. First read Architecture to learn which components a CashBox needs, then follow Manual CashBox Creation.
Both options require the legal and commercial preparations described earlier in this documentation. They are summarized under Prerequisites.

Figure 1. Process flow for creating your first CashBox.
Prerequisites
Before you roll out a Middleware instance, make sure that the following prerequisites are in place:
- A working Internet connection. For more information, see Network Requirements.
- An active PosDealer account in the fiskaltrust.Portal (Sandbox), either by registration or by invitation through your PosCreator. In the
PosSystemsmenu, check that aPosSystemIdis available. This menu is not available in PosOperator accounts. - Checked master data and at least one outlet. For more information, see Master Data.
- For a local Middleware installation: a system that meets the hardware and software requirements. For more information, see Supported Environments.
- Any SSCD components (hardware or SaaS credentials) that the setup requires, unless the setup itself creates them.
Rollout plans
Business Rollout
A Business Rollout follows these steps:
- Select the product you want to roll out.
- Select one or more PosOperators for the rollout.
- Select one or more outlets for the rollout.
- Create a quote and load it into your shopping cart.
- Complete the checkout.
The following example walks through these steps for your own account in the Sandbox.
- Austria
- Belgium
- France
- Germany
- Greece
- Italy
- Poland
- Portugal
- Spain
This example uses a fiskaltrust.Carefree plan. The plan creates a Carefree bundle, including an OnlineSignature SCU, and a CloudCashbox for immediate use. To keep the tutorial short, you roll out the bundle to your own account and outlet instead of to a PosOperator.
- Sign in to the Sandbox Portal.
- In the left-hand navigation menu, click
Rollout management. - On the
Business Rolloutcard (Rolling out products), clickChoose. - On the
Select Productpage, search forCloudCashbox. - On plan 4154-0005, click
Choose. - On the
Select PosOperatorspage, select your own account, markedMy Account, and clickRollout 1 PosOperators. - On the
Select Outletpage, select the outlet where you want to roll out the product and clickRollout 1 outlets. - On the
Summarypage, check the plan and the outlet, enter a name underDefine a name for the quote, and clickCreate quote & go to basket. Creating the quote takes a few seconds. - In the shopping cart, verify that the items match the selected products and click
Checkout. - Click
Order bindinglyto complete the order.
The order is listed under Shop > Orders. Completing the order can take a few minutes. After that, the following items are active in your account:
| Item | Location in the Portal |
|---|---|
| A new Queue | Configuration > Queues |
| A new CashBox | Configuration > CashBoxes |
| Two new demo subscriptions | Shop > Subscriptions |
Table 1. Items created by the Business Rollout.
Country-specific details in progress.
The Business Rollout acquires entitlements, transfers them to the PosOperator's outlets, activates them and creates the backend components for the CashBox. In this example, the result is a fully operational CashBox.
This example uses a fiskaltrust.ChaîneCloud plan, which creates a ChaîneCloud. To keep the tutorial short, you roll out the ChaîneCloud to your own account and outlet instead of to a PosOperator.
The outlet you select in step 7 must have a valid SIRET code configured before you create the CashBox.
- Sign in to the Sandbox Portal.
- In the left-hand navigation menu, click
Rollout management. - On the
Business Rolloutcard (Rolling out products), clickChoose. - On the
Select Productpage, search forChaîneCloud. - On plan 4652-0005, click
Choose. - On the
Select PosOperatorspage, select your own account, markedMy Account, and clickRollout 1 PosOperators. - On the
Select Outletpage, select the outlet where you want to roll out the product and clickRollout 1 outlets. - On the
Summarypage, check the plan and the outlet, enter a name underDefine a name for the quote, and clickCreate quote & go to basket. Creating the quote takes a few seconds. - In the shopping cart, verify that the items match the selected products and click
Checkout. - Click
Order bindinglyto complete the order.
The order is listed under Shop > Orders. Completing the order can take a few minutes. After that, the following items are active in your account:
| Item | Location in the Portal |
|---|---|
| A new Queue | Configuration > Queues |
| A new CashBox | Configuration > CashBoxes |
| A new SCU | Configuration > Signature creation unit |
| A new demo subscription | Shop > Subscriptions |
Table 1. Items created by the Business Rollout.
This example uses a fiskaltrust.Carefree plan. The plan creates a Carefree bundle, including an OnlineSignature SCU, and a CloudCashbox for immediate use. To keep the tutorial short, you roll out the bundle to your own account and outlet instead of to a PosOperator.
- Sign in to the Sandbox Portal.
- In the left-hand navigation menu, click
Rollout management. - On the
Business Rolloutcard (Rolling out products), clickChoose. - On the
Select Productpage, search forCloudCashbox. - On plan 4445-0019, click
Choose. - On the
Select PosOperatorspage, select your own account, markedMy Account, and clickRollout 1 PosOperators. - On the
Select Outletpage, select the outlet where you want to roll out the product and clickRollout 1 outlets. - On the
Summarypage, check the plan and the outlet, enter a name underDefine a name for the quote, and clickCreate quote & go to basket. Creating the quote takes a few seconds. - In the shopping cart, verify that the items match the selected products and click
Checkout. - Click
Order bindinglyto complete the order.
The order is listed under Shop > Orders. Completing the order can take a few minutes. After that, the following items are active in your account:
| Item | Location in the Portal |
|---|---|
| A new Queue | Configuration > Queues |
| A new CashBox | Configuration > CashBoxes |
| Two new demo subscriptions | Shop > Subscriptions |
Table 1. Items created by the Business Rollout.
Country-specific details in progress.
Country-specific details in progress.
Country-specific details in progress.
Country-specific details in progress.
Country-specific details in progress.
Start the Middleware
The CashBox configuration determines how the Middleware runs:
- CloudCashbox: fiskaltrust operates the Middleware, so you do not download anything. To connect, use the URL in the Queue configuration. For more information, see CloudCashbox.
- Local Middleware: in
Configuration>CashBoxes, clickDownloadin the row of your CashBox to download the Launcher, then start it. The Launcher fetches the CashBox configuration each time it starts, so configuration changes apply after a restart. For more information, see Windows, Linux & macOS and Android.
Running a test request
After the Middleware is deployed and started, check that it is available and responds to requests.
The Middleware provides an echo request that returns the data it receives. If you get a response, the Middleware is also ready to accept signing requests.
For Postman, you can download a request collection from the GitHub repository.
Request details
- Austria
- Belgium
- France
- Germany
- Greece
- Italy
- Poland
- Portugal
- Spain
To send an echo request, send a POST request to the path /json/Echo of the configured Middleware URL. The request body is a JSON string that contains the message you want the Middleware to return.
For example, to send Hello fiskaltrust.Middleware!, use the following request body:
"Hello fiskaltrust.Middleware!"
The following HTTP request sends this string to the Middleware:
POST /json/Echo HTTP/1.1
Host: localhost
Content-Length: 31
Content-Type: application/json
"Hello fiskaltrust.Middleware!"
The response has the status code 200 and contains the exact string you sent in the response body.
For the full request details, parameters and a curl example, see the Echo request in the Middleware samples.
Country-specific details in progress.
This example uses REST as a communication protocol and requires a REST helper to be enabled in your CashBox.
To send an echo request, send a POST request to the path /json/Echo of the configured Middleware URL. The request body is a JSON string that contains the message you want the Middleware to return.
For example, to send Hello fiskaltrust.Middleware!, use the following request body:
"Hello fiskaltrust.Middleware!"
The following HTTP request sends this string to the Middleware:
POST /json/Echo HTTP/1.1
Host: localhost
Content-Length: 31
Content-Type: application/json
"Hello fiskaltrust.Middleware!"
The response has the status code 200 and contains the exact string you sent in the response body.
For the full request details, parameters and a curl example, see the Echo request in the Middleware samples.
This example uses REST as a communication protocol and requires your Queue to have a configured rest:// URL.
To send an echo request, send a POST request to the path /v1/Echo of the configured Middleware URL.
You find the Middleware URL on the CashBox configuration page in the Portal.

Figure 2. Middleware URL on the CashBox configuration page in the fiskaltrust.Portal.
The request body is a JSON object with a single string field, Message, that contains the message you want the Middleware to return:
{
"Message": "Hello fiskaltrust.Middleware!"
}
For a CloudCashbox, add the cashboxid and accesstoken headers to the request. You also find both values on the CashBox configuration page.
The following HTTP request sends the minified JSON object from above, with the message Hello fiskaltrust.Middleware!, to a CloudCashbox:
POST https://cloudcashbox-sandbox.fiskaltrust.de/v1/Echo HTTP/1.1
Host: localhost
Content-Length: 46
Content-Type: application/json
cashboxid: XXXX
accesstoken: XXXX
{ "Message": "Hello fiskaltrust.Middleware!" }
The response has the status code 200 and contains the same object, with the exact string you sent, in the response body.
For the full request details, parameters and a curl example, see the Echo request in the Middleware samples.
Country-specific details in progress.
Country-specific details in progress.
Country-specific details in progress.
Country-specific details in progress.
Country-specific details in progress.