PEM Lifecycle
The following diagram showcases all the states a PEM can be in, from creation to discardment.
| State | Definition |
|---|---|
| New | The PEM resource has been created in the platform. |
| Registered | The PEM's activation request has been forwarded to the Italian Tax Authority. |
| Activated | The Italian Tax Authority has correctly provided the PEM's certificate. |
| Online | The PEM can correctly issue receipts. |
| Offline | The PEM is not able to function due to hardware, software, or server communication problems. |
| Discarded | The PEM 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 PEM (
POST mf2/pems) - its discardment
the Merchant
- starts the activation process (
POST mf1/pems/SERIAL_NUMBER/activation) - handles the transition from Online to Offline and viceversa (
POST mf1/pems/SERIAL_NUMBER/change-state)