Skip to main content
id
string
required

The identifier of this custom field definition, which is its name, so it changes when the definition is renamed.

Example:

"Customer Rating"

objectType
string
required

The type of object. This value is always "qbd_custom_field_definition".

Allowed value: "qbd_custom_field_definition"
Example:

"qbd_custom_field_definition"

ownerId
string
required

The owner of this custom field: "0" for a public custom field, which QuickBooks users define and see, or an application's GUID in braces for a private custom field, which appears only in requests that name that owner.

Example:

"0"

name
string
required

The name of this custom field, unique among the custom fields of its owner. For a public custom field, this is the label QuickBooks shows.

Example:

"Customer Rating"

type
enum<string>
required

The data type of this custom field's values. Public custom fields are always string_255_type.

Available options:
amount_type,
date_time_type,
integer_type,
percent_type,
price_type,
quantity_type,
string_1024_type,
string_255_type
Example:

"string_255_type"

objectTypes
enum<string>[]
required

The types of records this custom field applies to. For a public custom field, this includes the transaction types QuickBooks adds itself: a customer, vendor, or employee custom field applies to the listed transactions themselves, and an item custom field to their lines.

Available options:
account,
ar_refund_credit_card,
bill,
bill_payment_check,
bill_payment_credit_card,
build_assembly,
charge,
check,
company,
credit_card_charge,
credit_card_credit,
credit_memo,
customer,
deposit,
employee,
estimate,
inventory_adjustment,
invoice,
item,
item_receipt,
journal_entry,
other_name,
purchase_order,
receive_payment,
sales_order,
sales_receipt,
sales_tax_payment_check,
vendor,
vendor_credit
Example:
isRequiredForListObjects
boolean | null
required

Indicates whether QuickBooks requires a value for this custom field on list objects, such as customers and items. QuickBooks does not report this for private custom fields.

Example:

false

isRequiredForTransactions
boolean | null
required

Indicates whether QuickBooks requires a value for this custom field on transactions. QuickBooks does not report this for private custom fields.

Example:

false

format
string | null
required

The format QuickBooks applies to this custom field's values, as QuickBooks names it. QuickBooks does not report this for private custom fields.

Example:

"Any text"