Skip to main content

PEM Lifecycle

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

StateDefinition
NewThe PEM resource has been created in the platform.
RegisteredThe PEM's activation request has been forwarded to the Italian Tax Authority.
ActivatedThe Italian Tax Authority has correctly provided the PEM's certificate.
OnlineThe PEM can correctly issue receipts.
OfflineThe PEM is not able to function due to hardware, software, or server communication problems.
DiscardedThe 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)