Aller au contenu

Taxpayer, Location and System States and Modes

Ce contenu n’est pas encore disponible dans votre langue.

This section provides an overview of the state and mode that define the lifecycle and operational behavior of Taxpayer, Location and System resources. The diagram below illustrates the transitions between states and modes, detailing how the resource evolves from creation to decommissioning and how its operational modes adapt based on internal events or external API calls.

Understanding these transitions is essential for managing resources effectively, ensuring smooth operations, and resolving issues like invalid credentials.

Entity Resource State and Mode
  • Acquired: Initial state of the resource upon creation. Operations cannot be performed in this state.
  • Commissioned: Resource is ready and fully operational (provided that the mode is operative).
  • Decommissioned: Resource is no longer operational and cannot perform any tasks. This state is irreversible.
  • Inactive: Resource is inactive and not operational.
  • Operative: Resource is fully functional and operating as intended.
  • Suspended: Temporarily paused, which can be initiated via an API call, e.g. when credentials or other resource information need to be updated.
  • Degraded (not yet implemented): Resource is operational but temporarily unavailable, e.g. due to invalid credentials or errors.
  • Acquired → Commissioned: Requires an API call (PATCH) to update the resource.
  • Commissioned → Decommissioned: Managed through an API call (PATCH) to mark the resource as no longer in use. This state change is irreversible.
  • Inactive → Operative: Transitions automatically if state is updated to Commissioned via API call.
  • Operative → Suspended: Can be actively performed via the API, e.g. to temporarily suspend operations while updating credentials.
  • Operative → Degraded (not yet implemented): Transitions automatically if credentials are invalid or an error occurs.
  • Degraded → Suspended (not yet implemented): Should be actively updated via the API to address issues like invalid credentials.
  • Suspended → Operative: Can be updated via the API after resolving issues, e.g. updating credentials or other resource information.
  • Degraded → Operative (not yet implemented): Can transition automatically when issues with the resource are resolved internally.

Was this page helpful?