Customer Object

The customer object is a basic customer record in the Stax Bill system. It includes the Stax Bill generated ID that is used to uniquely identify the particular customer throughout the system.

A customer represents a billed entity in Stax Bill. It is associated with a list of subscription objects, payment method objects, invoice objects, and many other objects in the system. Directly associated with the customer object is the customer's basic contact information. If you have your own custom IDs for your customers it may be useful to leverage the reference field (in the UI this is called "Customer ID" by default) for easy navigation through your customer base. Keep in mind that reference is a custom string that Stax Bill does not enforce uniqueness. Only the Stax Bill generated id is guaranteed to be unique across your customer base as well as non-null values for portalUserName.

Customer Object Fields

PropertyTypeDescription
firstNameStringThe first name of the Customer.

[Max Length: 50 characters]
middleNameStringThe middle name of the Customer.

[Max Length: 50 characters]
lastNameStringThe last name of the Customer.

[Max Length: 50 characters]
companyNameStringThe company name associated with this Customer.

[Max Length: 50 characters]
suffixStringThe name suffix of the customer, for example Jr. or Sr.

[Max Length: 50 characters]
primaryEmailStringThe primary contact email for the Customer. Allows multiple entries in the format "[email protected]; [email protected]; [email protected]". Invoices and other email communications will be sent to this address(es).

[Max Length: 255 characters]
primaryPhoneStringThe primary contact number for the Customer.

[Max Length: 50 characters]
secondaryEmailStringThe secondary contact email for the Customer. Allows multiple entries in the format "[email protected]; [email protected]; [email protected]". No communications are sent to this address

[Max Length: 255 characters]
secondaryPhoneStringThe secondary contact number for the Customer.

[Max Length: 50 characters]
titleEnum:{Mr, Mrs, Ms, Miss, Dr}The prefix-title of the customer.
referenceStringThis is a free form reference field where you can store a reference string for this customer. Generally, this is used to store the reference/Id of this customer in some external system to facilitate matching up the Fusebill Customer record to that system.

[Max Length: 255 characters]
statusEnum:{Draft, Active, Hold, Suspended, Cancelled}The status of the customer. Most actions that can be done with this entity require it to be in active status
customerAccountStatusEnum:{Good, Collection, PoorStanding}The accounting status of the Customer. This reflects the financial status of the Customer and relates to if the Customer has past-due unpaid invoices. Customers enter Poor Standing if they have at least one (1) unpaid, overdue invoice. .

[Read Only]
currency3 character ISO currency codeThe Currency configured for this Customer.
[Read Only]
customerReferenceObject (defined below)This is used to store additional data related to this customer, including sales tracking codes.
customerAcquisitionObject (defined below)This is used to store different details about how this customer was acquired. Generally, this is used to store marketing channel information.
monthlyRecurringRevenueDecimalThe calculated MRR value for this Customer. This is calculated based on the expected income of thier current Subscriptions. Only recurring charges are included in this calculation. One-time goods and physical goods purchases, which do not recur, are not included.

[Read Only]
netMonthlyRecurringRevenueDecimalThe net MRR of the customer. Calculated by considering any discounts on the customer's active subscription products.

[Read Only]
salesforceIdStringThe Salesforce Account Id associated with this Customer. This field is only populated if you are using the Fusebill Salesforce plugin.
salesforceAccountTypeEnum: {Company, Person}This will dictate how the Salesforce account name will be created. Your options are:
1)"Company" where the company name and Fusebill Id will be combined and used as the account name
2)"Person" where the first and last names will be combined to populate the account name field.
3) NULL, the account level default will be used
salesforceSynchStatusEnum:{Enabled, Disabled}This setting controls if the account will synchronize the Fusebill account with Salesforce.

[Read Only]
netsuiteIdStringIf you are using a Netsuite integration this is the number which uniquely identifies the customer in Netsuite.

[Read Only]
netsuiteSynchStatusEnum:{Enabled, Disabled}This setting controls if the account will synchronize the Fusebill account with NetSuite.

[Read Only]
netsuiteCustomerTypeEnum:{Individual, Company}Identifies the entity type of the customer record in NetSuite.
This field is only populated if you are using the Fusebill NetSuite plugin.

[Read Only]
portalUserNameStringIf the customer has login credentials this field contains the username.
[Max Length: 50 characters]
[Read Only After Set]
parentIdIntegerThe Parent ID relates to the Fusebill hierarchy feature. If hierarchy is enabled, this is the id of the parent customer.​
quickBooksLatchTypeEnum:{CreateNew, LatchExisting, DoNothing}Indicates how Fusebill is handling latching for this customer object and the possible corresponding customer in QuickBooks Online. This is for the QuickBooks Online plugin.
quickBooksIdIntegerThe name ID of this customer in QuickBooks Online. For the QuickBooks Online plugin.
hubSpotIdIntegerThe ID of this customer in HubSpot
hubSpotCompanyIdIntegerThe ID of this customer in HubSpot if it represents a company
geotabIdStringThe Geotab Reseller Customer ID associated with this Fusebill customer entity

[Max Length: 255 characters]
modifiedTimestampTimestampThe timestamp of the last time this object was modified.

[Read Only]
createdTimestampTimestampThe timestamp of when this customer was created as draft.

[Read Only]
idIntegerThe Fusebill generated ID that uniquely identifies this customer.

[Read Only]
uriStringFull path to a particular customer object.

[Read Only]

Customer Reference Fields

PropertyTypeDescription
reference1StringAn optional open field to hold any alpha-numeric value on the customer.

[Max Length: 255 characters]
reference2StringAn optional open field to hold any alpha-numeric value on the customer.

[Max Length: 255 characters]
reference3StringAn optional open field to hold any alpha-numeric value on the customer.

[Max Length: 255 characters]
salesTrackingCodesObject (defined below)A collection of up to 5 SalesTrackingCode objects

SalesTrackingCode Fields

PropertyTypeDescription
typeStringIdentification of the sales tracking code type being set. The sales tracking code type can be configured under the sales tracking code section under your account settings

By default the accepted values are "Sales Tracking Code 1", "Sales Tracking Code 2" ... up to "Sales Tracking Code 5".

If you rename your sales tracking code, those names or the default names can be used.

[Max Length: 255 characters]
codeStringThe specific sales tracking code value. The code must exist under the appropriate salestrackingcode type being referenced

[Max Length: 255 characters]
nameStringDisplay name

[Max Length: 255 characters]
idIntegerThe Fusebill generated ID for the Sales Tracking Code

[Read Only]
uriStringThe full path to the Sales Tracking Code object

[Read Only]

Customer Acquisition Fields

PropertyTypeDescription
adContentStringTypically used to set the content description for the campaign ad. For all campaigns, or for a particular campaign, this appears as Ad Content under the Segment pull-down in the Analytics Reports.

[Max Length: 255 characters]
campaignStringThis variable is used to define the name of your campaign, which appears in the Analytics reports on the top-level campaign report.

[Max Length: 255 characters]
keywordStringThese are the words that visitors use to find your Website when using a search engine. Google Analytics provides a list of keywords that have been searched by users who find your Website. This information shows you what searchers are actually looking for when they find your Website. This also allows you to discover potential new keywords to target.

[Max Length: 255 characters]
landingPageStringThe first page a visitor views during a session; also known as the entrance page.

[Max Length: 255 characters]
mediumStringTypically used to define the type of the campaign, such as a banner ad, email campaign, or click ad. For all campaigns, or for a particular campaign, this appears as Keyword under the Segment pull-down in the Analytics Reports.

[Max Length: 255 characters]
sourceStringThe source variable is typically used to define where the campaign is originating from, such as a website name or a company. For all campaigns, or for a particular campaign, this appears as Source under the Segment pull-down in the Analytics Reports.

[Max Length: 255 characters]
idIntegerThe Fusebill generated ID for the customer this customer acquisition belongs to

[Read Only]
uriStringThe full path to the customer object this customer acquisition belongs to

[Read Only]