POS System and ftPosSystemId
Every receipt request must contain the ID of the POS system that created it, in the field ftPosSystemId. The PosCreator registers the POS system in the fiskaltrust.Portal, receives its ID there, and hard-codes that ID in the POS software. This page explains where the ID comes from, what it is used for, and how to fix a receipt whose POS system ID is missing or unknown.
What a POS system is
In fiskaltrust, a POS system is a POS software product as its PosCreator distributes it: one model of a cash register software, not a single installed device. A POS system is described by its master data:
| Field | Description |
|---|---|
Name | The name of the POS system. |
Brand | The brand under which the POS system is sold. |
Model | The model of the POS system. |
Software Major Version | The major version of the POS software. |
Type | The type of the POS system. |
Table 1. Master data of a POS system in the fiskaltrust.Portal.
The PosCreator who registers the POS system owns it. PosDealers who sell and install the POS system are assigned to it. For more information, see Assignment of a PosSystem.
Getting the POS system ID
The POS system ID is a UUID that the fiskaltrust.Portal assigns when the POS system is created:
- Log in to the fiskaltrust.Portal as a PosCreator.
- Select
PosSystems>Add, enter the master data and selectCreate new. - The new POS system appears in the list of your POS systems, together with its
PosSystemId. The ID cannot be changed.
For step-by-step instructions with screenshots, see Creation of a PosSystem.
Create one POS system per model, not one per device or per installation. All installations of the same model send the same ID.
Each market has its own fiskaltrust.Portal, and the sandbox Portal is separate from the production Portal. A POS system is known only in the Portal where it was created. Create the POS system in the production Portal of every market where it is used, and send the ID from that market's Portal. For more information, see Integration Checklist.
Sending the ID in every receipt request
ftPosSystemId is a mandatory field of the ReceiptRequest. The PosCreator implements the POS system ID as a constant in the POS software, so that every receipt request contains it, including special receipts such as zero receipts and closing receipts:
{
"ftCashBoxID": "<your CashBox ID>",
"ftPosSystemId": "<the PosSystemId from the fiskaltrust.Portal>",
"cbTerminalID": "T1",
"cbReceiptReference": "R-1001",
...
}
The ID is not configured per installation and is not entered by the PosDealer or PosOperator.
What the ID is used for
The POS system ID connects each receipt to the POS software that created it. fiskaltrust uses it:
- For audits: it identifies the POS system behind a queue and behind each receipt.
- For tax-authority exports and notifications: in markets where the POS system must be declared, its master data comes from the POS system registered under this ID. For more information on a market, see its data structures page, for example Data Structures (Germany).
- As a basis for commission calculation.
Why the POS system ID matters
The Middleware does not validate ftPosSystemId: a receipt with a missing, malformed or unknown POS system ID is signed like any other receipt. Nothing fails at the till, so the problem only shows later, when the POS system behind the receipts has to be determined — by then, every receipt sent with that value is affected. Receipts that were already signed keep the value they were sent with; only receipts sent after the POS software is fixed carry the correct ID.
Without a valid POS system ID:
- The POS system behind a receipt or a queue cannot be identified, for audits or when PosDealers, PosCreators and fiskaltrust support investigate a receipt.
- The receipts cannot be attributed to the POS system for the commission calculation.
- The receipt page of the fiskaltrust.Portal shows a warning on each affected receipt, as described below.
When the ID is missing, in addition:
- Tax-authority notifications and exports lack the POS system data in the markets that require it. For more information on a market, see its data structures page, for example Data Structures (Germany).
- The queue validation in the fiskaltrust.Portal fails the check
Do the receipts include the PosSystemId?.
When the POS system ID is wrong
The ID can only be fixed in the POS software, by the PosCreator. The following sections describe each case and how to fix it.
The ID is missing
The receipt request contains no ftPosSystemId, an empty value, or the empty UUID 00000000-0000-0000-0000-000000000000. The fiskaltrust.Portal shows the warning This receipt does not identify its POS system.
The POS system that created the receipt cannot be determined.
How to fix it:
- PosCreator: implement the ID of your POS system as a constant and send it in every receipt request, as described in Sending the ID in every receipt request. Placeholder values from examples, such as the empty UUID, must be replaced.
- PosDealer or PosOperator: contact your PosDealer or PosCreator. The ID cannot be set in the fiskaltrust.Portal or in the Middleware configuration; it must be sent by the POS software.
The ID is malformed
The value is not a UUID, for example a product name, a version number or a placeholder text such as POS-Systemid-guid. With the ifPOS v1 interface, the Middleware accepts any text in this field, so the receipt is signed; the fiskaltrust.Portal treats the value as an unknown POS system (see below). With the ifPOS v2 interface, the field is a UUID, so a value that is not a UUID cannot be read.
How to fix it: as for a missing ID: the PosCreator sends the POS system ID exactly as the fiskaltrust.Portal shows it, a UUID in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
The ID is unknown
The receipt request contains a UUID, but no POS system with this ID is registered in the fiskaltrust.Portal of this market. The fiskaltrust.Portal shows the warning This receipt names an unknown POS system.
Common causes:
- The ID was copied from an example in this documentation or from a sample collection.
- The ID belongs to a POS system in the sandbox Portal, but the receipt was sent to a production queue.
- The ID belongs to a POS system registered in the Portal of another market. Each market has its own Portal, so an ID from another market is unknown here.
- The ID was typed or generated instead of copied from the
PosSystemslist.
How to fix it:
- PosCreator: check the
PosSystemslist in the production fiskaltrust.Portal of the market of the queue. If the POS system is not there, create it in that Portal and send its ID; if it is there, send exactly the ID shown in the list. - PosDealer or PosOperator: contact your PosDealer or PosCreator and give them the POS system ID shown on the receipt page. As a PosDealer, you find the POS systems assigned to you and their IDs under
PosSystemsin the fiskaltrust.Portal.