EinCreation is the only service you can add. Formation and RegisteredAgent exist only as part of forming a company, and AiCofounder comes with every company.
Use it when a company was created without an EIN, or when you imported a company that has no EIN yet.
Adding the EIN
The call is all or nothing: if any service cannot be added, none is.
The response is
201 with every service on the company:
variant: "NONE". The status shown is the one the EIN was added with. Read the company for its current status.
When the EIN starts
Once the EIN starts, the usual EIN flow applies. A founder without a valid SSN signs an SS-4: the company’s
signatureRequirements lists it from the moment you add the EIN, so read the company and follow the signing guide. Watch company_ein_issued and document_einletter_uploaded for the result, as for any other company. No webhook fires for the addition itself.
Idempotency
Idempotency-Key is required. Retrying with the same key and body returns the first response and adds nothing twice. If the call fails, the key is released, so fix the request and retry with the same key. A new key for an EIN that was already added answers 409 E_SERVICE_ALREADY_ADDED.
Errors
Branch onerror.code, never on the message.
Once the body is valid, doola checks the company in this order and reports the first failure:
E_COMPANY_NOT_ACTIVE, E_SERVICE_ALREADY_ADDED, E_EIN_ALREADY_ISSUED, then E_EXPEDITED_EIN_NOT_ELIGIBLE. A refused request changes nothing.
See Errors for the response envelope and the global codes any endpoint can return.