201Successful Response
Schema: SuccessEnvelope_BusinessResponse_
successbooleanmessagestringcodestringdataBusinessResponse
/api/v1/businessesCreate a new business entity with optional integrations.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BusinessCreateRequest
namestringrequiredBusiness display name.
default_currencystringDefault currency for the business (USD, CAD, AUD, EUR, or GBP).
tax_year_end_monthintegerMonth when the tax/fiscal year ends (1-12). Default 12 = calendar year.
mailboxstringUnique email prefix for bill forwarding. Auto-generated from the business name when omitted.
user_idstringUUID of the user who will own this business. Optional for admin-created businesses.
create_teal_instancebooleanIf true, creates a new Teal accounting instance. Default false since DayZero local engine is now the default.
teal_instancestringExisting Teal instance ID to use (if not creating new).
coa_template_idstringPre-built chart of accounts template ID. Mutually exclusive with custom_coa_template.
custom_coa_templateCustomCoaTemplateCustom chart of accounts definition. Mutually exclusive with coa_template_id.
entries_startstringDate from which to start importing transactions (YYYY-MM-DD).
firm_idstringAdvisory firm UUID to link this business to.
stripe_account_idstringStripe Connect account ID.
stripe_subscription_idstringStripe subscription ID for billing.
stripe_customer_idstringStripe customer ID (e.g., cus_xxx).
subscription_itemsobjectStripe subscription items/products linked to this business.
accounting_engine_typestringAccounting engine: 'local' (DayZero, default), 'teal', or null (inherit from firm).
Schema: SuccessEnvelope_BusinessResponse_
successbooleanmessagestringcodestringdataBusinessResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject