ErrorsBy category
Companies errors
All error codes returned by the Companies endpoints (11 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 | The account's primary company cannot be deleted. |
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 |
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 |
SUBACCOUNT_USER_NOT_FOUND | User not found |