Skip to content

Record States and Modes

This section describes the lifecycle of a Record — the possible state and mode values and the transitions between them, all of which are triggered automatically by the system.

Record Resource State and Mode
  • Accepted: The Record has been received and passed initial validation, but no final outcome has yet been persisted. This is a temporary state.
  • Rejected: The Record has been received but did not pass our internal validation checks. Details are available in the log messages. This is a final state.
  • Completed: The Record was successfully submitted to and accepted by the Tax Agency. This is a final state.
  • Failed: An error occurred during processing. The Record either failed the Tax Agency’s validation checks, or an error prevented our system from confirming the transmission outcome. Details are available in the log messages. This is a final state.
  • Processing: The Record is being processed. The corresponding state is Accepted.
  • Finished: The Record has been processed, with either a successful or unsuccessful outcome. The corresponding state is either Rejected, Completed or Failed.
  • POST → Accepted: The Record is created via an API call and temporarily enters the Accepted state if validated successfully.
  • POST → Rejected: If the Record fails internal validation during creation, it automatically transitions to the Rejected state, providing additional log messages about the error.
  • Accepted → Completed: This transition occurs automatically once the Record has been successfully processed.
  • Accepted → Failed: If an error occurs during processing, the Record automatically transitions to the Failed state, providing additional log messages for debugging.
  • Processing → Finished: Once the Record has been processed, regardless of whether the outcome is successful or unsuccessful, it automatically transitions to the Finished mode.

Was this page helpful?