Skip to content

QuickBooks: Read a customer — response body — Customer

Read a customer: response body, field Customer. Complete fields and constraints for contract 2026-10-20.

API reference · Contract 2026-10-20

SDK schema: Read a customer — response body — Customer

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
ActiveJSONOptionalIf true, this entity is currently enabled for use by QuickBooks. If there is an amount in Customer.Balance when setting this Customer object to inactive through the QuickBooks UI, a CreditMemo balancing transaction is created for the amount.
Active (anyOf 1)booleanAlternative
Active (anyOf 2)stringAlternativeKnown values: true, false
AlternatePhoneModelOptionalExpand Create a vendor — request body — body Fax
Alternate phone number.
BalanceJSONOptionalSpecifies the open balance amount or the amount unpaid by the customer. For the create operation, this represents the opening balance for the customer. When returned in response to the query request it represents the current open balance (unpaid amount) for that customer. Write-on-create.
Decimal string
Balance (anyOf 1)JSONAlternative
Balance (anyOf 1) (anyOf 1)numberAlternative
Balance (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Balance (anyOf 2)stringAlternative
BalanceWithJobsJSONOptionalCumulative open balance amount for the Customer (or Job) and all its sub-jobs. Cannot be written to QuickBooks.
Decimal string
BalanceWithJobs (anyOf 1)JSONAlternative
BalanceWithJobs (anyOf 1) (anyOf 1)numberAlternative
BalanceWithJobs (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
BalanceWithJobs (anyOf 2)stringAlternative
BillAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Default billing address. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
BillWithParentJSONOptionalIf true, this Customer object is billed with its parent. If false, or null the customer is not to be billed with its parent. This attribute is valid only if this entity is a Job or sub Customer.
BillWithParent (anyOf 1)booleanAlternative
BillWithParent (anyOf 2)stringAlternativeKnown values: true, false
CompanyNamestringOptionalThe name of the company associated with the person or organization.
CurrencyRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the currency in which all amounts associated with this customer are expressed. Once set, it cannot be changed. If specified currency is not currently in the company’s currency list, it is added. If not specified, currency for this customer is the home currency of the company, as defined by Preferences.CurrencyPrefs.HomeCurrency .
Read only: true
CustomerTypeRefModelOptionalExpand Read a customer — response body — Customer Customer Type Ref
Reference to the customer type assigned to a customer. This field is only returned if the customer is assigned a customer type.
DefaultTaxCodeRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to a default tax code associated with this Customer object. Reference is valid if Customer.Taxable is set to true; otherwise, it is ignored. If automated sales tax is enabled ( Preferences.TaxPrefs.PartnerTaxEnabled is set to true ) the default tax code is set by the system and can not be overridden. Query the TaxCode name list resource to determine the appropriate TaxCode object for this reference. Use TaxCode.Id and TaxCode.Name from that object for DefaultTaxCodeRef.value and DefaultTaxCodeRef.name , respectively.
DisplayNamestringOptionalThe name of the person or organization as displayed. Must be unique across all Customer, Vendor, and Employee objects. Cannot be removed with sparse update. If not supplied, the system generates DisplayName by concatenating customer name components supplied in the request from the following list: Title , GivenName , MiddleName , FamilyName , and Suffix .
Conditionally required
FamilyNamestringOptionalFamily name or the last name of the person. The DisplayName attribute or at least one of Title , GivenName , MiddleName , FamilyName , or Suffix attributes is required.
Conditionally required
FaxModelOptionalExpand Create a vendor — request body — body Fax
Fax number.
FullyQualifiedNamestringOptionalFully qualified name of the object. The fully qualified name prepends the topmost parent, followed by each sub element separated by colons. Takes the form of Customer:Job:Sub-job . System generated. Limited to 5 levels.
Read only: true
GivenNamestringOptionalGiven name or first name of a person. The DisplayName attribute or at least one of Title , GivenName , MiddleName , FamilyName , or Suffix attributes is required.
Conditionally required
IdstringOptionalUnique identifier for this object.
Read only: true
IsProjectJSONOptionalIf true, indicates this is a Project.
Read only: true
IsProject (anyOf 1)booleanAlternative
IsProject (anyOf 2)stringAlternativeKnown values: true, false
JobJSONOptionalIf true, this is a Job or sub-customer. If false or null, this is a top level customer, not a Job or sub-customer.
Job (anyOf 1)booleanAlternative
Job (anyOf 2)stringAlternativeKnown values: true, false
LevelJSONOptionalSpecifies the level of the hierarchy in which the entity is located. Zero specifies the top level of the hierarchy; anything above will be level with respect to the parent. Constraints: up to 5 levels
Read only: true
Level (anyOf 1)JSONAlternative
Level (anyOf 1) (anyOf 1)integerAlternative
Level (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Level (anyOf 2)stringAlternative
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the entity. The MetaData values are set by Data Services and are read only for all applications.
MiddleNamestringOptionalMiddle name of the person. The person can have zero or more middle names. The DisplayName attribute or at least one of Title , GivenName , MiddleName , FamilyName , or Suffix attributes is required.
Conditionally required
MobileModelOptionalExpand Create a vendor — request body — body Fax
Mobile phone number.
NotesstringOptionalFree form text describing the Customer.
OpenBalanceDatestringOptionalDate of the Open Balance for the create operation. Write-on-create.
ParentRefModelOptionalExpand Read an item — response body — Item Class Ref
A reference to a Customer object that is the immediate parent of the Sub-Customer/Job in the hierarchical Customer:Job list. Required for the create operation if this object is a sub-customer or Job. Query the Customer name list resource to determine the appropriate Customer object for this reference. Use Customer.Id and Customer.DisplayName from that object for ParentRef.value and ParentRef.name , respectively.
PaymentMethodRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to a PaymentMethod associated with this Customer object. Query the PaymentMethod name list resource to determine the appropriate PaymentMethod object for this reference. Use PaymentMethod.Id and PaymentMethod.Name from that object for PaymentMethodRef.value and PaymentMethodRef.name , respectively.
PreferredDeliveryMethodstringOptionalPreferred delivery method. Values are Print, Email, or None.
PrimaryEmailAddrModelOptionalExpand Full update companyinfo — request body — body Email
Primary email address.
PrimaryPhoneModelOptionalExpand Create a vendor — request body — body Fax
Primary phone number.
PrimaryTaxIdentifierstringOptionalAlso called Tax Reg. No in ( UK ) , ( CA ) , ( IN ) , ( AU ) represents the tax ID of the Person or Organization. This value is masked in responses, exposing only last five characters. For example, the ID of 123-45-6789 is returned as XXXXXX56789 .
PrintOnCheckNamestringOptionalName of the person or organization as printed on a check. If not provided, this is populated from DisplayName. Constraints: Cannot be removed with sparse update.
ResaleNumstringOptionalResale number or some additional info about the customer.
SalesTermRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to a SalesTerm associated with this Customer object. Query the Term name list resource to determine the appropriate Term object for this reference. Use Term.Id and Term.Name from that object for SalesTermRef.value and SalesTermRef.name , respectively.
SecondaryTaxIdentifierstringOptionalAlso called UTR No. in ( UK ) , CST Reg No. ( IN ) also represents the tax registration number of the Person or Organization. This value is masked in responses, exposing only last five characters. For example, the ID of 123-45-6789 is returned as XXXXXX56789 .
ShipAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Default shipping address. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
SourcestringOptionalThe Source type of the transactions created by QuickBooks Commerce. Valid values include: QBCommerce
SuffixstringOptionalSuffix of the name. For example, Jr . The DisplayName attribute or at least one of Title , GivenName , MiddleName , FamilyName , or Suffix attributes is required.
Conditionally required
SyncTokenstringOptionalVersion number of the object. It is used to lock an object for use by one app at a time. As soon as an application modifies an object, its SyncToken is incremented. Attempts to modify an object specifying an older SyncToken fails. Only the latest version of the object is maintained by QuickBooks Online.
Read only: true
TaxExemptionReasonIdstringOptionalThe tax exemption reason associated with this customer object. Applicable if automated sales tax is enabled ( Preferences.TaxPrefs.PartnerTaxEnabled is set to true ) for the company. Set TaxExemptionReasonId: to one of the following: Id Reason 1 Federal government 2 State government 3 Local government 4 Tribal government 5 Charitable organization 6 Religious organization 7 Educational organization 8 Hospital 9 Resale 10 Direct pay permit 11 Multiple points of use 12 Direct mail 13 Agricultural production 14 Industrial production / manufacturing 15 Foreign diplomat
TaxableJSONOptionalIf true, transactions for this customer are taxable. Default behavior: true, if DefaultTaxCodeRef is defined or false if TaxExemptionReasonId is set.
Taxable (anyOf 1)booleanAlternative
Taxable (anyOf 2)stringAlternativeKnown values: true, false
TitlestringOptionalTitle of the person. This tag supports i18n, all locales. The DisplayName attribute or at least one of Title , GivenName , MiddleName , FamilyName , or Suffix attributes is required.
Conditionally required
WebAddrModelOptionalExpand Create a vendor — request body — body Web Addr
Website address.

Referenced models: Read a customer — response body — Customer Customer Type Ref, Full update companyinfo — request body — body Email, Read a bill — response body — Bill Meta Data, Create a vendor — request body — body Bill Addr, Read an item — response body — Item Class Ref, Create a vendor — request body — body Fax, Create a vendor — request body — body Web Addr

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.