---
title: "Onboard a new company under an organization"
method: POST
path: "/v1/organization-api/company/company-workflow/onboard"
tags: ["Company"]
---

# Onboard a new company under an organization

`POST /v1/organization-api/company/company-workflow/onboard`

## Request

- Base URL: `https://api.finalpos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.finalpos.com/v1/organization-api/company/company-workflow/onboard`
- Auth: API key in header `x-org-api-key`

Creates a company, linked account, default outlet, plan assignment, default roles, and a Stripe customer. Runs in a single transaction, then finalizes any external customer setup. The target organization is resolved from the supplied `x-org-api-key`; the organization must have an org owner.

## Request body

- OnboardCompanyDto
  - `planId` string, required
  - `outletName` string
  - `company` CreateCompanyDto, required
    - `name` string, required: Company name
    - `address` AddressDto, required
      - `address1` string, required: Street address line 1
      - `city` string, required: City
      - `postCode` string, required: Postal/ZIP code
      - `country` string, required: Country
      - `state` string, required: State/Province
      - `address2` string: Street address line 2
      - `phone` string: Phone number
    - `shipping` AddressDto, required
      - `address1` string, required: Street address line 1
      - `city` string, required: City
      - `postCode` string, required: Postal/ZIP code
      - `country` string, required: Country
      - `state` string, required: State/Province
      - `address2` string: Street address line 2
      - `phone` string: Phone number
  - `currencyCode` 'USD' | 'EUR' | 'GBP' | 'CAD' | 'AUD' | 'NZD' | 'CHF' | 'CNY' | 'INR' | 'MXN' | 'BRL' | 'ZAR' | 'SGD' | 'HKD' | 'SEK' | 'NOK' | 'DKK' | 'PLN' | 'THB' | 'MYR' | 'PHP' | 'IDR' | 'AED' | 'SAR' | 'ILS' | 'TRY' | 'RUB' | 'HTG' | 'BND' | 'CRC' | 'BDT' | 'UAH' | 'NGN' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BGN' | 'BMD' | 'BOB' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'COP' | 'CZK' | 'DOP' | 'DZD' | 'EGP' | 'ETB' | 'FJD' | 'GEL' | 'GHS' | 'GTQ' | 'GYD' | 'HNL' | 'IRR' | 'JMD' | 'KES' | 'KGS' | 'KHR' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'MAD' | 'MDL' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MUR' | 'MVR' | 'MZN' | 'NAD' | 'NIO' | 'NPR' | 'PAB' | 'PEN' | 'PGK' | 'PKR' | 'QAR' | 'RON' | 'RSD' | 'SBD' | 'SRD' | 'SYP' | 'TJS' | 'TMT' | 'TOP' | 'TTD' | 'TZS' | 'UYU' | 'UZS' | 'VES' | 'WST' | 'XCD' | 'YER' | 'ZMW' | 'CDF' | 'CUP' | 'ERN' | 'FKP' | 'GIP' | 'GMD' | 'KPW' | 'LRD' | 'LSL' | 'MGA' | 'MWK' | 'SCR' | 'SDG' | 'SHP' | 'SLE' | 'SOS' | 'SSP' | 'STN' | 'SZL' | 'VED' | 'XCG' | 'JPY' | 'KRW' | 'VND' | 'CLP' | 'ISK' | 'HUF' | 'TWD' | 'GNF' | 'BIF' | 'DJF' | 'KMF' | 'PYG' | 'RWF' | 'UGX' | 'VUV' | 'XAF' | 'XOF' | 'XPF' | 'KWD' | 'BHD' | 'OMR' | 'JOD' | 'TND' | 'LYD' | 'IQD', required
  - `isTaxInclusive` boolean, required

## Response `200`

Company onboarded successfully. Returns the new company document (including `accountId` and `organizationId` links). A default outlet and plan association are also created; those ids are not duplicated on the company object.

## Other responses

- `400`: Request validation failed, plan or organization is invalid, or a required relation could not be satisfied (e.g. no org owner).
- `401`: Missing or invalid `x-org-api-key`.
- `403`: API key is not bound to an organization.
- `404`: Organization, plan, or another prerequisite resource was not found.

---

[API](https://skmtc.dev/finalpos/apis/final-pos-public-api.md) · [All operations](https://skmtc.dev/finalpos/apis/final-pos-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finalpos/apis/final-pos-public-api/revisions/6a6842dcb479?raw)
