Skip to content

Create a company

Companies in XetaSuite represent parts suppliers and/or maintenance providers.

A Company can have one or more types:

TypeDescription
ITEM_PROVIDERSpare parts supplier
MAINTENANCE_PROVIDERMaintenance contractor
  1. Access the Companies module

    From the sidebar, click Companies (only available at headquarters).

  2. Click “New company”

    The creation form opens in a modal.

  3. Fill in the information

    FieldRequiredDescription
    NameCompany name
    EmailContact email
    PhonePhone number
    AddressPostal address
    TypesParts supplier and/or Maintenance provider
  4. Save

    Click Create to save.

POST /api/v1/companies
{
"name": "ACME Corp",
"email": "contact@acme.com",
"phone": "+1 555 123 4567",
"address": "123 Example Street, New York, NY 10001",
"types": ["ITEM_PROVIDER", "MAINTENANCE_PROVIDER"]
}
{
"data": {
"id": 1,
"name": "ACME Corp",
"email": "contact@acme.com",
"phone": "+1 555 123 4567",
"address": "123 Example Street, New York, NY 10001",
"types": ["ITEM_PROVIDER", "MAINTENANCE_PROVIDER"],
"item_count": 0,
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
}
ActionPermission
View listcompany.viewAny
View a suppliercompany.view
Createcompany.create
Modifycompany.update
Deletecompany.delete

When a Company is deleted:

  1. Items keep a reference to the company name (company_name field)
  2. Item movements preserve the supplier name
  3. Item prices preserve the supplier name

This allows maintaining traceability even after a supplier is deleted.