/** * @example * { * id: "id", * business_address: { * city: "Austin", * country: "US", * line1: "4180 Burnet Rd", * line2: "Suite 2", * postal_code: "78756", * state: "TX" * }, * business_name: "Shine Time Auto Detailing", * business_phone: "+15125550142", * business_website: "https://shinetime.example", * entity_suffix: "LLC", * entity_type: "llc", * expedite_ein: true, * formation_state: "WY", * founders: [{ * address: { * city: "Austin", * country: "US", * line1: "907 Ridgemont Dr", * line2: "Apt 4", * postal_code: "78704", * state: "TX" * }, * date_of_birth: "1988-03-14", * email: "marcus@shinetime.example", * first_name: "Marcus", * is_primary: true, * last_name: "Webb", * ownership_percentage: 100, * phone: "+15125550142", * roles: ["president"], * ssn: "123-45-6789" * }], * share_structure: { * number_of_shares: 123, * value: 123 * }, * use_registered_agent: true * } */ export interface FormCompanyAccountsRequest { /** Account ID, prefixed `biz_`. */ id: string; /** Company mailing address. Required unless `use_registered_agent` is `true`. */ business_address?: FormCompanyAccountsRequest.BusinessAddress; /** Legal name for the new company. */ business_name: string; /** Business phone number in E.164 format, for example `+12125550100`. Required unless `use_registered_agent` is `true`. */ business_phone?: string; /** Company website URL. */ business_website?: string; /** Legal entity ending appended to `business_name`. LLC formations accept `LLC`, `L.L.C`, `L.L.C.` or `Limited Liability Company` and default to `LLC`; C-Corp formations accept `Inc`, `Inc.`, `Incorporated`, `Corp.`, `Corporation`, `C Corp`, `C Corporation`, `CCorp` or `Company` and default to `Inc.`. Unrecognized values fall back to the default for the entity type. */ entity_suffix?: FormCompanyAccountsRequest.EntitySuffix; /** Legal entity type to form. Defaults to `llc`. */ entity_type?: FormCompanyAccountsRequest.EntityType; /** Request expedited EIN processing for an additional fee. Available only when no founder supplies an SSN. */ expedite_ein?: boolean; /** Two-letter code of the US state (or `DC`) to form the company in. We recommend `WY` because Wyoming formations are completed the same day. */ formation_state: FormCompanyAccountsRequest.FormationState; /** The company's founders. Exactly one must be marked `is_primary` — the responsible party for the filing. */ founders: FormCompanyAccountsRequest.Founders.Item[]; /** Authorized share structure. Required when `entity_type` is `c_corp`; ignored for LLCs. */ share_structure?: FormCompanyAccountsRequest.ShareStructure; /** Use the registered agent's address as the company address instead of `business_address`. */ use_registered_agent?: boolean; } export declare namespace FormCompanyAccountsRequest { /** * Company mailing address. Required unless `use_registered_agent` is `true`. */ interface BusinessAddress { city: string; /** Two-letter ISO 3166-1 country code, for example `US`. */ country: string; /** First line of the street address. */ line1: string; /** Second line of the street address. */ line2?: string | undefined; /** Postal or ZIP code. */ postal_code: string; /** State or region code, for example `CA`. */ state: string; } /** Legal entity ending appended to `business_name`. LLC formations accept `LLC`, `L.L.C`, `L.L.C.` or `Limited Liability Company` and default to `LLC`; C-Corp formations accept `Inc`, `Inc.`, `Incorporated`, `Corp.`, `Corporation`, `C Corp`, `C Corporation`, `CCorp` or `Company` and default to `Inc.`. Unrecognized values fall back to the default for the entity type. */ const EntitySuffix: { readonly Llc: "LLC"; readonly LlcDotted: "L.L.C"; readonly LlcDottedTrailingPeriod: "L.L.C."; readonly LimitedLiabilityCompany: "Limited Liability Company"; readonly Inc: "Inc"; readonly IncTrailingPeriod: "Inc."; readonly Incorporated: "Incorporated"; readonly Corp: "Corp."; readonly Corporation: "Corporation"; readonly CCorp: "C Corp"; readonly CCorporation: "C Corporation"; readonly CCorpOneWord: "CCorp"; readonly Company: "Company"; }; type EntitySuffix = (typeof EntitySuffix)[keyof typeof EntitySuffix]; /** Legal entity type to form. Defaults to `llc`. */ const EntityType: { readonly Llc: "llc"; readonly CCorp: "c_corp"; }; type EntityType = (typeof EntityType)[keyof typeof EntityType]; /** Two-letter code of the US state (or `DC`) to form the company in. We recommend `WY` because Wyoming formations are completed the same day. */ const FormationState: { readonly Al: "AL"; readonly Ak: "AK"; readonly Az: "AZ"; readonly Ar: "AR"; readonly Ca: "CA"; readonly Co: "CO"; readonly Ct: "CT"; readonly De: "DE"; readonly Dc: "DC"; readonly Fl: "FL"; readonly Ga: "GA"; readonly Hi: "HI"; readonly Id: "ID"; readonly Il: "IL"; readonly In: "IN"; readonly Ia: "IA"; readonly Ks: "KS"; readonly Ky: "KY"; readonly La: "LA"; readonly Me: "ME"; readonly Md: "MD"; readonly Ma: "MA"; readonly Mi: "MI"; readonly Mn: "MN"; readonly Ms: "MS"; readonly Mo: "MO"; readonly Mt: "MT"; readonly Ne: "NE"; readonly Nv: "NV"; readonly Nh: "NH"; readonly Nj: "NJ"; readonly Nm: "NM"; readonly Ny: "NY"; readonly Nc: "NC"; readonly Nd: "ND"; readonly Oh: "OH"; readonly Ok: "OK"; readonly Or: "OR"; readonly Pa: "PA"; readonly Ri: "RI"; readonly Sc: "SC"; readonly Sd: "SD"; readonly Tn: "TN"; readonly Tx: "TX"; readonly Ut: "UT"; readonly Vt: "VT"; readonly Va: "VA"; readonly Wa: "WA"; readonly Wv: "WV"; readonly Wi: "WI"; readonly Wy: "WY"; }; type FormationState = (typeof FormationState)[keyof typeof FormationState]; type Founders = Founders.Item[]; namespace Founders { interface Item { /** Founder's personal address. */ address: Item.Address; /** Formatted as `YYYY-MM-DD`. */ date_of_birth?: string | undefined; email: string; first_name: string; /** Marks the responsible party for the filing. Exactly one founder must be primary. */ is_primary: boolean; last_name: string; /** The founder's ownership share: greater than `0`, at most `100`. Shares across founders must total `100`. Required when `entity_type` is `llc`; ignored for C-Corps. */ ownership_percentage?: number | undefined; /** Phone number in E.164 format, for example `+12125550100`. */ phone: string; /** Officer roles held by the member — one member can hold several. Required (at least one role) for every member when `entity_type` is `c_corp`; ignored for LLCs. Across all members every role must be covered; `president`, `secretary` and `treasurer` may each be held by only one member, while `director` may repeat. */ roles?: Item.Roles.Item[] | undefined; /** The founder's US Social Security Number. Leave empty if the founder is not a US resident. Non-US founders can request expedited EIN processing via the `expedite_ein` option. */ ssn?: string | undefined; } namespace Item { /** * Founder's personal address. */ interface Address { city: string; /** Two-letter ISO 3166-1 country code, for example `US`. */ country: string; /** First line of the street address. */ line1: string; /** Second line of the street address. */ line2?: string | undefined; /** Postal or ZIP code. */ postal_code: string; /** State or region code, for example `CA`. */ state: string; } type Roles = Roles.Item[]; namespace Roles { const Item: { readonly President: "president"; readonly Secretary: "secretary"; readonly Treasurer: "treasurer"; readonly Director: "director"; }; type Item = (typeof Item)[keyof typeof Item]; } } } /** * Authorized share structure. Required when `entity_type` is `c_corp`; ignored for LLCs. */ interface ShareStructure { /** Number of shares the company authorizes. Must be greater than `0`. */ number_of_shares: number; /** Par value per share, in USD. Must be greater than `0`; fractional values like `0.01` are allowed. */ value: number; } }