Skip to content

LLC Formation Guide

A step-by-step guide to forming an LLC through TheCorporation, from entity creation to active status. Covers document generation, signing, state filing, and EIN confirmation.


Terminal window
corp form create \
--name "My LLC" \
--entity-type llc \
--jurisdiction DE

The command prints the new entity_id. Use @last in subsequent commands to reference it.

Terminal window
curl -X POST http://localhost:8000/v1/entities \
-H "Authorization: Bearer $CORP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"legal_name": "My LLC",
"entity_type": "llc",
"jurisdiction": "DE"
}'

Save the returned entity_id as ENTITY_ID for the rest of the examples.


Advance the entity from Pending to DocumentsGenerated:

Terminal window
corp form advance @last
Terminal window
curl -X POST http://localhost:8000/v1/formations/$ENTITY_ID/advance \
-H "Authorization: Bearer $CORP_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'

This generates three documents:

DocumentPurpose
ArticlesOfOrganizationFiled with the state to legally create the LLC
OperatingAgreementDefines member rights, profit distribution, and management structure
InitialWrittenConsentRecords the initial member actions (appointing managers, adopting the operating agreement)

List the generated documents:

Terminal window
corp form documents @last

All generated documents must be signed before filing.

Terminal window
corp form sign <doc_id> \
--signer-name "Jane Smith" \
--signer-role "Member" \
--signer-email "[email protected]" \
--signature-text "/s/ Jane Smith" \
--consent-text "I consent to the terms of this document."

Repeat for each document. After all documents are signed, the entity advances to DocumentsSigned.

Terminal window
curl -X POST http://localhost:8000/v1/documents/$DOCUMENT_ID/sign \
-H "Authorization: Bearer $CORP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"signer_name": "Jane Smith",
"signer_role": "Member",
"signer_email": "[email protected]",
"signature_text": "/s/ Jane Smith",
"consent_text": "I consent to the terms of this document."
}'

The formation state machine applies to both LLCs and C-Corps:

Pending → DocumentsGenerated → DocumentsSigned → FilingSubmitted → Filed → EinApplied → Active

Each call to corp form advance moves the entity forward one step, provided the preconditions for that transition are met (e.g., all documents signed before advancing past DocumentsSigned).

Terminal window
corp form status @last
Terminal window
# After documents are signed:
corp form advance @last # → FilingSubmitted
# After confirming the state filing:
corp form advance @last # → Filed
# After applying for EIN:
corp form advance @last # → EinApplied
# After confirming the EIN:
corp form advance @last # → Active
Terminal window
curl -X POST http://localhost:8000/v1/formations/$ENTITY_ID/advance \
-H "Authorization: Bearer $CORP_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'

Once the state accepts the Articles of Organization:

Terminal window
corp form confirm-filing @last \
--confirmation-number "LLC-2026-0042"

Then advance:

Terminal window
corp form advance @last # → Filed
Terminal window
curl -X POST http://localhost:8000/v1/formations/$ENTITY_ID/filing/confirm \
-H "Authorization: Bearer $CORP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"confirmation_number": "LLC-2026-0042"
}'

After the IRS assigns an Employer Identification Number:

Terminal window
corp form confirm-ein @last \
--ein "12-3456789"

Then advance to complete formation:

Terminal window
corp form advance @last # → Active
Terminal window
curl -X POST http://localhost:8000/v1/formations/$ENTITY_ID/tax/confirm-ein \
-H "Authorization: Bearer $CORP_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"ein": "12-3456789"
}'

AspectLLCC-Corp
Formation documentsArticlesOfOrganization, OperatingAgreement, InitialWrittenConsentCertificateOfIncorporation, Bylaws, InitialWrittenConsent, IncorporatorAction
Governance rolesMember, ManagerShareholder, Director, Officer
Governing documentOperatingAgreementBylaws
Ownership unitsMembership interests / unitsShares of stock
Default taxationPass-through (single/multi-member)Double taxation (corporate + dividend)
Signer roles on documentsMember, ManagerIncorporator, Director, Officer

The CLI and API commands are identical for both entity types. The system generates the correct documents and applies the appropriate governance model based on the entity_type you provide at creation.


StageCLIAPI
Create entitycorp form create --entity-type llcPOST /v1/entities
Generate docscorp form advance @lastPOST /v1/formations/{id}/advance
List docscorp form documents @lastGET /v1/formations/{id}/documents
Sign doccorp form sign <doc_id>POST /v1/documents/{id}/sign
Advancecorp form advance @lastPOST /v1/formations/{id}/advance
Confirm filingcorp form confirm-filing @lastPOST /v1/formations/{id}/filing/confirm
Confirm EINcorp form confirm-ein @lastPOST /v1/formations/{id}/tax/confirm-ein