The RetailForce fiscalisation middleware can assign globally unique IDs for cash registers and documents.
The function for generating the two IDs must first be activated. You can find instructions on how to do this in this article.
GlobalShortId
The GlobalShortId represents a globally unique ID for the cash register assigned to the client. It consists of 4 characters, e.g. 0p4j.
The GlobalShortId is generated after the first call of the function POST /api/v1/management/clients/{clientId}/globalShortId by specifying the clientId (also "uniqueClientId") and returned to the requesting system.
RetailForceReceiptId
After a GlobalShortId has been generated for a client for the first time (see GlobalShortId), the "RetailForceReceiptId" property is returned in every fiscalResponse when PUT /api/v1/transactions/createDocument is called.
The RetailForceReceiptId consists of
- the GlobalShortId
- followed by a 4-digit code
Example: 0p4j0001
Comments
0 comments
Please sign in to leave a comment.