NameDescriptionTypeAdditional information
CustomerBillId

Sedona internal autonumber for the Customer Billing Address record

integer

None.

CustomerId

Foreign key from AR_Customer table

integer

Required

IsCommercial

True for Commercial account; false for Residential

boolean

Required

BillName

If a person, CustomerName should be passed in as "Last, First"

string

Required

String length: inclusive between 0 and 60

Address1

string

Required

String length: inclusive between 0 and 60

Address2

string

String length: inclusive between 0 and 60

Address3

string

String length: inclusive between 0 and 60

City

City name; must exist in the GE_Table1 table

string

Required

State

State 2 letter abbreviation; must exist in the GE_Table2 table

string

Required

Zip

Zip code, not inclusive of extension (i.e. first 5 digits for U.S. zip); must exist in the GE_Table3 table

string

Required

County

County name; must exist in the GE_Table4 table

string

None.

ZipExt

Last 4 of zip code

string

String length: inclusive between 0 and 10

CountryAbbrev

Country code; must exist in the SS_Country table (Abbrev column); defaults to "USA" if not supplied

string

None.

Phone1

string

String length: inclusive between 0 and 25

Phone2

string

String length: inclusive between 0 and 25

Fax

string

String length: inclusive between 0 and 25

Email

string

String length: inclusive between 0 and 50

IsPrimary

Set to true if this is the primary billing address; this should be set to true for only one billing address

boolean

None.

Inactive

Set to true to make this bill address inactive

boolean

None.

BranchCode

Value from AR_Branch table; list of valid options can be retrieved from GET: api/branch

string

Required

String length: inclusive between 0 and 25

EmailInvoices

Send a copy of invoices via email; whether it is also printed/mailed is controlled at the Customer level

boolean

Required

BusinessName2

string

String length: inclusive between 0 and 60