Point of Sale Lifecycle

The following diagram showcases all the states a Point of Sale can be in, from creation to discardment.

The Supplier creates the Point of Sale
The Merchant registers the Point of Sale
The Italian Tax Authority activates the Point of Sale
A-Cube stores the Point of Sale's certificate and tells to the Italian Tax Authority that it is ready to function
The Merchant sets the Point of Sale offline
The Merchant sets the Point of Sale online
The Supplier deactivates the Point of Sale
The Supplier deactivates the Point of Sale
New
Registered
Activated
Online
Offline
Discarded
StateDefinition
NewThe Point of Sale resource has been created in the platform.
RegisteredThe Point of Sale's activation request has been forwarded to the Italian Tax Authority.
ActivatedThe Italian Tax Authority has correctly provided the Point of Sale's certificate.
OnlineThe Point of Sale can correctly issue receipts.
OfflineThe Point of Sale is not able to function due to hardware, software, or server communication problems.
DiscardedThe Point of Sale enters this state at the end of its lifecycle. It results in the revocation of the certificate and the blocking of the serial number.

the Supplier handles

  • the creation of a new Point of Sale (POST mf2/point-of-sales)
  • its discardment

the Merchant

  • starts the activation process (POST mf1/point-of-sales/SERIAL_NUMBER/activation)
  • handles the transition from Online to Offline and viceversa (POST mf1/point-of-sales/SERIAL_NUMBER/change-state)