ErrorsBy category
Companies errors
All error codes returned by the Companies endpoints (18 total).
Every error returned by the Companies endpoints. Click any code for the full example response and localized messages.
| Code | Message |
|---|---|
ACCOUNT_HAS_NO_HOLDER | The target account has no registered holder yet, so a NIF cannot be created on its behalf |
CANNOT_DELETE_PRIMARY | Cannot delete the primary account through this endpoint |
CHECKOUT_REQUIRED | A payment method is required to create a production company |
COMPANY_ACTIVE_IN_PRODUCTION | This company is active in Live and cannot be deleted. Deactivate it in Live first: the deactivation is scheduled, the current cycle is charged and served in full, and from its effective date you will be able to delete the company |
COMPANY_HAS_INVOICES | This company has invoices in Live and cannot be deleted. Delete its drafts and proformas first; if it has already issued invoices, the way out is to deactivate it in Live, not to delete it |
COMPANY_NOT_FOUND | Company not found |
ENVIRONMENT_ESCALATION | A sandbox (test) API key cannot create a production (live) API key |
MAX_PROFILES_REACHED | You have reached the maximum number of business profiles ({0}). Upgrade your plan for more |
NIF_ALREADY_REGISTERED | The NIF is already registered |
NIF_PROD_ALREADY_ACTIVE_IN_ANOTHER_ACCOUNT | This NIF is already registered in production under another account. A NIF can only issue real invoices from a single account. |
NUMBERING_REQUIRES_ACTIVATION | Series numbering can only be configured in a creation request that activates the company. Remove the numbering block or activate a mode (activate:true) |
PAYMENT_REQUIRED | You have an outstanding payment. Settle it to keep operating in production |
PLAN_ACTIVATION_REQUIRED | Your plan is still in its trial period. Activate it to start invoicing in production |
PRODUCTION_TWIN_SOURCE_ALREADY_PRODUCTION | The source company is already in production; cannot create a twin |
PROFILE_NOT_OWNED | The business profile does not belong to your account |
SCOPE_ESCALATION | Child API key cannot have more scopes than the parent key |
SUBACCOUNT_PROFILE_NOT_FOUND | Business profile not found |
SUBACCOUNT_USER_NOT_FOUND | User not found |