Billing and Shipping Address

In Stax Bill, customers can have 2 addresses, one for their billing details and optionally one for shipping. These are used for recording the location of a sale and calculating taxes.

Special behaviors and additional adress fields are controlled by the CustomerAddressPreferences

The billing address must always exist on a customer before the shipping address. If a billing address is provided, but no shipping address, be sure to set useBillingAddressAsShippingAddress to true in the customer address preferences.

Address Object Fields

PropertyTypeDescription
customerAddressPreferenceIdIntegerThe Fusebill generated ID of the customer this address object belongs to.
companyNameStringThe company name if applicable.
line1StringStandard line 1 of an address.
line2Stringstandard line 2 of an address.
countryIdIntegerThe ID of the country. Retrievable with the Read Country ID call.
countryStringThe name of the country.
stateIdIntegerThe ID of the state, province, or territory. Retrievable with the Read Country ID call.
stateStringThe name of the state, province, or territory.
cityStringThe city name.
postalZipStringThe postal code or zip code.
addressTypeEnum: ShippingIn Fusebill a customer can have up to one billing and up to one shipping address
validBooleanIndicates the validity of the address.
idIntegerThe Fusebill generated ID for this address object.
uriStringThe full path to this resource.
📘

Simplified Workflows

A customer address can also be added in the initial customer creation POST