# activateCompany

## Overview

Activates a DRAFT company, transitioning status to ACTIVE. Required as a separate call after createCompany because the erp-kit state machine requires separate transactions for create and activate.

## Modules Commands Used

- [organization] ActivateCompany

## Exception Handling

| Error Code | Description |
| --- | --- |
| ORGANIZATION_COMPANY_NOT_FOUND | The specified company does not exist |
| ORGANIZATION_INVALID_STATE | The company is not in DRAFT status and cannot be activated |
