Skip to main content
The incorporationValidation object represents validation for the full incorporation: incorporation-level intake fields, participants, ownership totals, participant resources, and participant documents. Use incorporationValidation to decide whether the incorporation is ready to submit. It is returned by incorporation read/write endpoints and can be refreshed directly with Get incorporation validation.

Attributes

AttributeTypeDescription
isCompletebooleantrue when the current incorporation state satisfies the current requirements and is eligible to submit for review. This does not submit the incorporation by itself.
missingRequirementsarrayRequired fields, participants, ownership totals, participant resource fields, or participant documents that have not been provided yet.
invalidRequirementsarraySubmitted values that do not satisfy the current requirements.
When incorporationValidation.isComplete is true, call Submit an incorporation to hand the incorporation to Commenda for review.

Validation issues

Each item in missingRequirements and invalidRequirements has the same shape.
AttributeTypeDescription
pathstringDot/bracket path for the missing or invalid requirement. Values depend on the current requirements and participant ids, such as companyNames.companyNameOptions or participants.participant_123.documents.passport_scan.
messagestringHuman-readable explanation of what is missing or invalid.

Endpoints

ActionEndpoint
Read current validationGet incorporation validation
Update intake and validateUpdate incorporation intake
Register participant and validateRegister an incorporation participant
Update participant and validateUpdate an incorporation participant
Link document and validateLink a participant document
Retrieve incorporation with validationGet an incorporation