Skip to main content
The intake state object represents the latest merged incorporation-level intake data for one incorporation. The intake state is not a submission history. Each intake update merges new values into currentState, and Commenda revalidates the resulting incorporation state against the current requirements.

Attributes

AttributeTypeDescription
idstringUnique identifier for this intake state record.
incorporationIdstringIncorporation this intake state belongs to. Same value used as {incorporationId} in intake, participant, document, status, issue, and submit endpoints.
currentStateobjectLatest partner-submitted incorporation-level requirement values. Keys vary by the current requirements for the selected country and incorporation options.
createdAtstringISO timestamp for when the intake state record was created.
updatedAtstringISO timestamp for when the intake state record was last updated.

Current state values

currentState contains the merged requirement values submitted through Update incorporation intake. The top-level currentState property is always returned, but the values inside it are requirements-driven. When writing intake data, send requirement values under the requirements request property. When reading intake state, Commenda returns those same requirement keys under currentState. For example, an incorporation type that requires company name options and a registered office address may use these paths:
Example read pathMatching write pathDescription
currentState.companyNameOptionsrequirements.companyNameOptionsPreferred legal names for the company being incorporated.
currentState.registeredOfficeAddressSourcerequirements.registeredOfficeAddressSourceHow the registered office address should be satisfied.
currentState.registeredOfficeAddressLocationrequirements.registeredOfficeAddressLocationCommenda OS location reference used when the registered office address source is partnerProvidedLocation.
Fetch Get incorporation requirements to see the fields for the selected incorporation type. Because updates are merge-based, currentState can contain previously submitted values that are no longer applicable after later choices. Treat incorporationValidation as the source of truth for whether the current incorporation can be submitted.

Endpoints

ActionEndpoint
Create with initial intakeCreate an incorporation
Update intakeUpdate incorporation intake
Retrieve current stateGet an incorporation
Read validationGet incorporation validation
Submit when completeSubmit an incorporation