Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.commenda.io/llms.txt

Use this file to discover all available pages before exploring further.

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
codestringStable machine-readable validation issue code.
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.
participantIdstringPresent when the issue belongs to a participant.
documentKindstringPresent when the issue belongs to a participant document.
displayNamestringPresent when Commenda can provide a useful label for the affected person, business entity, or field.

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
Upsert document and validateUpsert a participant document
Retrieve incorporation with validationGet an incorporation