Skip to main content

CreateCompanyInput

Input for creating a new company.

Extends the base company input with required parent usergroup specification. The parent usergroup determines the company's position in the organizational hierarchy.

input CreateCompanyInput {
name: String
taxNumber: String
cocNumber: String
debtorId: String
email: String
phone: String
notes: String
parentId: Int!
}

Fields

CreateCompanyInput.name ● String scalar

Official name of the company.

The legal or business name used for identification. Maximum length is 150 characters.

CreateCompanyInput.taxNumber ● String scalar

Tax identification number of the company.

Official tax registration number used for tax reporting and compliance. Maximum length is 30 characters. Format varies by jurisdiction.

CreateCompanyInput.cocNumber ● String scalar

Chamber of Commerce registration number.

Official business registration number with the local Chamber of Commerce or equivalent business registry. Maximum length is 30 characters.

CreateCompanyInput.debtorId ● String scalar

Debtor identification number for accounting purposes.

Internal or external reference number used in financial systems to identify the company as a debtor. Maximum length is 30 characters.

CreateCompanyInput.email ● String scalar

Primary email address for the company.

Main contact email address used for business communications and system notifications. Must be a valid email format.

CreateCompanyInput.phone ● String scalar

Primary phone number for the company.

Main contact phone number for business communications. Maximum length is 30 characters. Should include country code for international numbers.

CreateCompanyInput.notes ● String scalar

Additional notes or comments about the company.

Free-form text field for storing additional information, special instructions, or internal notes.

CreateCompanyInput.parentId ● Int! non-null scalar

Identifier of the usergroup where the company should be created.

Must be a valid usergroup ID that the user has permission to create companies in. This determines the company's position in the organizational hierarchy.

Member Of

companyCreate mutation