Response Status Codes
- 201 Created - A new business was successfully created
- 200 OK - An existing business was found and returned:
- Archived business with matching phone number was unarchived
- Non-archived business with matching external ID was found
- 400 Bad Request - Phone number matches an existing non-archived business with a different external ID
previously_imported: true when an existing business is returned.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Content-Type must be set to application/json
Body
Unique ID of the business in your system for linking purposes. Idempotency key.
Legal name of the business as it has been registered.
Tax Identification Number for the business.
The state this business is incorporated in.
AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, PR, RI, SC, SD, TN, TX, UT, VT, VI, VA, WA, WV, WI, WY 2 letter ISO country code representing the country this business is incorporated in. Defaults to US.
AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, ME, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RS, RW, SH, KN, LC, PM, VC, WS, SM, ST, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, GS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW Entity type of the business. Used to determine tax filing status.
SOLE_PROP, C_CORP, LLC, S_CORP, PARTNERSHIP, NON_PROFIT, TRUST Phone number used for SMS based categorization.
Whether SMS is enabled for this business
Date when SMS categorization starts for this business.
The activation timestamp represents the time at which Layer should begin displaying accounting data. Data before this time will not be displayed to users. This field is important for businesses migrating over from other accounting platforms. Defaults to Jan 1 of the current year.
List of internal bank account identifiers to associate with this business.
List of unit account identifiers to associate with this business.
Plaid items to link to this business.
Plaid processor tokens to link to this business.
Whether to skip the onboarding process for this business.
Industry classification for the business.
6-digit NAICS code used to identify the business's industry.
List of Stripe Connect accounts associated with this business.
Default accounting basis for financial reports.
CASH, ACCRUAL Response
Unique identifier for the business.
Resource type. Value will be “Business”.
"Business"
Unique ID of the business in your system for linking purposes. Idempotency key.
"test-acme-id"
Legal name of the business as it has been registered.
"ACME LLC"
Tax Identification Number for the business.
The state this business is incorporated in.
AL, AK, AZ, AR, CA, CO, CT, DE, DC, FL, GA, HI, ID, IL, IN, IA, KS, KY, LA, ME, MD, MA, MI, MN, MS, MO, MT, NE, NV, NH, NJ, NM, NY, NC, ND, OH, OK, OR, PA, PR, RI, SC, SD, TN, TX, UT, VT, VI, VA, WA, WV, WI, WY 2 letter ISO country code representing the country this business is incorporated in. Defaults to US.
AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BV, BR, IO, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CD, CK, CR, CI, HR, CU, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GN, GW, GY, HT, HM, VA, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IL, IT, JM, JP, JO, KZ, KE, KI, KP, KR, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, ME, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RS, RW, SH, KN, LC, PM, VC, WS, SM, ST, SA, SN, SC, SL, SG, SK, SI, SB, SO, ZA, GS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, UZ, VU, VE, VN, VG, VI, WF, EH, YE, ZM, ZW Entity type of the business. Used to determine tax filing status.
SOLE_PROP, C_CORP, LLC, S_CORP, PARTNERSHIP, NON_PROFIT, TRUST Industry classification for the business.
Phone number used for SMS based categorization.
"+16504651359"
6-digit NAICS code used to identify the business's industry.
"484110"
Whether SMS is enabled for this business
Whether this business has responded to Layer's SMS with "STOP"
Date when SMS categorization starts for this business.
The activation timestamp represents the time at which Layer should begin displaying accounting data. Data before this time will not be displayed to users. This field is important for businesses migrating over from other accounting platforms. Defaults to Jan 1 of the current year.
Time when the business entity was created in Layer. Eligible sort key.
Time when the business's information was last updated in Layer. Eligible sort key.
Time when the business was archived, if applicable.
Time when the business data was last synced with external systems.
List of unit accounts associated with this business.
Plaid items linked to this account.
Plaid processor tokens linked to this account
True if an archived business with the same phone number was unarchived during creation.
List of Stripe Connect accounts associated with this business.
Default accounting basis for financial reports.
CASH, ACCRUAL