Skip to content

QuickBooks: Bill schemas

20 QuickBooks schemas with complete fields and constraints.

← Bill operations · All schemas

Create a bill — request body — body Currency Ref

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
namestringOptionalThe full name of the currency.
valueJSONRequired within parent
value (anyOf 1)stringAlternative
value (anyOf 2)integerAlternativeMinimum: 0
Maximum: 9007199254740991

Create a bill — request body — body Line item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AccountBasedExpenseLineDetailModelRequired within parentExpand Create a bill — request body — body Line item Account Based Expense Line Detail
LineDetail
AmountJSONRequired within parentThe amount of the line item.
Decimal string
Amount (anyOf 1)numberAlternative
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
CustomExtensionsarrayOptionalArray of custom extension objects that associate additional attributes with the line. The ExtensionType field specifies the type of extension. The currently supported value is DIMENSION . The AssociatedValues array contains key/value pairs referencing Dimensions DefinitionID/Dimension ValueID. Multiple key/value pairs per extension type are supported. This field is designed to support additional extension types in the future. Dimensions is available for Intuit Enterprise Suite.
CustomExtensions[]ModelEach itemExpand Create an item — request body — body Custom Extensions item
DescriptionstringOptionalFree form text description of the line item that appears in the printed record.
DetailTypestringRequired within parentSet to AccountBasedExpenseLineDetail for this type of line.
IdstringOptionalThe Id of the line item. Its use in requests is as folllows: If Id is greater than zero and exists for the company, the request is considered an update operation for a line item. If no Id is provided, the Id provided is less than or equal to zero, or the Id provided is greater than zero and does not exist for the company then the request is considered a create operation for a line item. Available in all objects that use lines and support the update operation.
Read only: true
LineNumJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive Integer.
Decimal string
LineNum (anyOf 1)numberAlternative
LineNum (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$

Referenced models: Create a bill — request body — body Line item Account Based Expense Line Detail, Create an item — request body — body Custom Extensions item

Create a bill — request body — body Line item Account Based Expense Line Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AccountRefModelRequired within parentExpand Create a purchase order — request body — body Ship To
Reference to the Expense account associated with this item. Query the Account name list resource to determine the appropriate Account object for this reference, where Account.AccountType=Expense . Use Account.Id and Account.Name from that object for AccountRef.value and AccountRef.name , respectively. For France locales: The account associated with the referenced Account object is looked up in the account category list. If this account has same location as specified in the transaction by the TransactionLocationType attribute and the same VAT as in the line item TaxCodeRef attribute, then this account is used. If there is a mismatch, then the account from the account category list that matches the transaction location and VAT is used. If this account is not present in the account category list, then a new account is created with the new location, new VAT code, and all other attributes as in the default account.
BillableStatusstringOptionalThe billable status of the expense. This field is not updatable through an API request. The value automatically changes when an invoice is created. Valid values: Billable , NotBillable , HasBeenBilled
Read only: true
ClassRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Class associated with the expense. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerLine is set to true . Query the Class name list resource to determine the appropriate Class object for this reference. Use Class.Id and Class.Name from that object for ClassRef.value and ClassRef.name , respectively.
CustomerRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Customer associated with the expense. 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 CustomerRef.value and CustomerRef.name , respectively.
MarkupInfoModelOptionalExpand Create a change order — request body — body Line item Sales Item Line Detail Markup Info
Markup information for the expense.
TaxAmountJSONOptionalSales tax paid as part of the expense.
Decimal string
TaxAmount (anyOf 1)numberAlternative
TaxAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
TaxCodeRefModelOptionalExpand Create a purchase order — request body — body Ship To
The TaxCode associated with the sales tax for the expense. 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 TaxCodeRef.value and TaxCodeRef.name , respectively.
TaxInclusiveAmtJSONOptionalThe total amount of the line item including tax.
Decimal string
TaxInclusiveAmt (anyOf 1)numberAlternative
TaxInclusiveAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$

Referenced models: Create a change order — request body — body Line item Sales Item Line Detail Markup Info, Create a purchase order — request body — body Ship To

Create a bill — request body — body Linked Txn item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
TxnIdstringRequired within parentTransaction Id of the related transaction.
TxnLineIdstringOptionalRequired for Deposit and Bill entities. The line number of a specific line of the linked transaction. If supplied, the TxnId and TxnType attributes of the linked transaction must also be populated.
Conditionally required
TxnTypestringRequired within parentTransaction type of the linked object.

Create a bill — request body — body Txn Tax Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
TaxLinearrayOptional
TaxLine[]ModelEach itemExpand Create a bill — request body — body Txn Tax Detail Tax Line item
TotalTaxJSONOptionalTotal tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list.
Decimal string
TotalTax (anyOf 1)numberAlternative
TotalTax (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
TxnTaxCodeRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the transaction tax code. 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 TaxCodeRef.value and TaxCodeRef.name , respectively. If specified and sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ), this element is ignored and not returned. For sales transactions, only: if automated sales tax is enabled ( Preferences.TaxPrefs.PartnerTaxEnabled is set to true ) the supplied transaction tax code is replaced by the automated sales tax engine recommendation.

Referenced models: Create a purchase order — request body — body Ship To, Create a bill — request body — body Txn Tax Detail Tax Line item

Create a bill — request body — body Txn Tax Detail Tax Line item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AmountJSONOptionalThe amount of tax for this tax line. This value is negative for JournalEntry objects with PostingType set to Credit.
Decimal string
Amount (anyOf 1)numberAlternative
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
DetailTypestringRequired within parentSet to TaxLineDetail for this type of line.
TaxLineDetailModelRequired within parentExpand Create a bill — request body — body Txn Tax Detail Tax Line item Tax Line Detail
TaxLineDetail

Referenced models: Create a bill — request body — body Txn Tax Detail Tax Line item Tax Line Detail

Create a bill — request body — body Txn Tax Detail Tax Line item Tax Line Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
NetAmountTaxableJSONOptionalThis is the taxable amount on the total of the applicable tax rates. If TaxRate is applicable on two lines, this attribute represents the total of the two lines for which this rate is applied. This is different from the Line.Amount , which represents the final tax amount after the tax has been applied. Default Value: Null
Decimal string
NetAmountTaxable (anyOf 1)numberAlternative
NetAmountTaxable (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
NetAmountTaxable (anyOf 3)nullAlternative
OverrideDeltaAmountJSONOptionalThe difference between the actual tax and the overridden amount supplied by the user.
Decimal string
OverrideDeltaAmount (anyOf 1)numberAlternative
OverrideDeltaAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
PercentBasedJSONOptionalTrue —sales tax rate is expressed as a percentage. False —sales tax rate is expressed as a number amount.
PercentBased (anyOf 1)booleanAlternative
PercentBased (anyOf 2)stringAlternativeOne of: true, false
TaxInclusiveAmountJSONOptionalThis is the total amount, including tax.
Decimal string
TaxInclusiveAmount (anyOf 1)numberAlternative
TaxInclusiveAmount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
TaxPercentJSONOptionalNumerical expression of the sales tax percent. For example, use "8.5" not "0.085".
Decimal string
TaxPercent (anyOf 1)numberAlternative
TaxPercent (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
TaxRateRefModelRequired within parentExpand Create a purchase order — request body — body Ship To
Reference to a TaxRate to apply to the entire transaction. Query the TaxRate name list resource to determine the appropriate TaxRage object for this reference. Use TaxRate.Id and TaxRate.Name from that object for TaxRateRef.value and TaxRateRef.name , respectively. For non-US versions of QuickBooks, the TaxRate referenced here must also be one of the rates in the referenced tax code's rate list—either the SalesTaxRateList or the PurchaseTaxRateList—as applies to the transaction type. Any given rate may only be listed once.

Referenced models: Create a purchase order — request body — body Ship To

Delete a bill — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
APAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Specifies to which AP account the bill is credited. Query the Account name list resource to determine the appropriate Account object for this reference. Use Account.Id and Account.Name from that object for APAccountRef.value and APAccountRef.name , respectively. The specified account must have Account.Classification set to Liability and Account.AccountSubType set to AccountsPayable . If the company has a single AP account, the account is implied. However, it is recommended that the AP Account be explicitly specified in all cases to prevent unexpected errors when relating transactions to each other.
BalanceJSONOptionalThe balance reflecting any payments made against the transaction. Initially set to the value of TotalAmt . A Balance of 0 indicates the bill is fully paid. Calculated by QuickBooks business logic; any value you supply is over-written by QuickBooks.
Decimal string
Read only: true
Balance (anyOf 1)numberAlternative
Balance (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
CurrencyRefModelOptionalExpand Create a bill — request body — body Currency Ref
Reference to the currency in which all amounts on the associated transaction are expressed. This must be defined if multicurrency is enabled for the company. Multicurrency is enabled for the company if Preferences.MultiCurrencyEnabled is set to true . Read more about multicurrency support here . Required if multicurrency is enabled for the company.
Conditionally required
DepartmentRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to a Department object specifying the location of the transaction, as defined using location tracking in QuickBooks Online. Query the Department name list resource to determine the appropriate department object for this reference. Use Department.Id and Department.Name from that object for DepartmentRef.value and DepartmentRef.name , respectively.
DocNumberJSONOptionalReference number for the transaction. If not explicitly provided at create time, a custom value can be provided. If no value is supplied, the resulting DocNumber is null. Throws an error when duplicate DocNumber is sent in the request. Recommended best practice: check the setting of Preferences:OtherPrefs before setting DocNumber. If a duplicate DocNumber needs to be supplied, add the query parameter name/value pair, include=allowduplicatedocnum to the URI. Sort order is ASC by default.
DocNumber (anyOf 1)stringAlternative
DocNumber (anyOf 2)nullAlternative
DueDatestringOptionalDate when the payment of the transaction is due. If date is not provided, the number of days specified in SalesTermRef added the transaction date will be used.
ExchangeRateJSONOptionalThe number of home currency units it takes to equal one unit of currency specified by CurrencyRef . Applicable if multicurrency is enabled for the company.
Decimal string
ExchangeRate (anyOf 1)numberAlternative
ExchangeRate (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
GlobalTaxCalculationstringOptionalMethod in which tax is applied. Allowed values are: TaxExcluded , TaxInclusive , and NotApplicable . Not applicable to US companies; required for non-US companies.
Conditionally required
HomeBalanceJSONOptionalConvenience field containing the amount in Balance expressed in terms of the home currency. Calculated by QuickBooks business logic. Value is valid only when CurrencyRef is specified. Applicable if multicurrency is enabled for the company.
Decimal string
Read only: true
HomeBalance (anyOf 1)numberAlternative
HomeBalance (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
IdstringRequired within parent
IncludeInAnnualTPARJSONOptionalInclude the supplier in the annual TPAR. TPAR stands for Taxable Payments Annual Report. The TPAR is mandated by ATO to get the details payments that businesses make to contractors for providing services. Some government entities also need to report the grants they have paid in a TPAR.
IncludeInAnnualTPAR (anyOf 1)booleanAlternative
IncludeInAnnualTPAR (anyOf 2)stringAlternativeOne of: true, false
LinearrayOptionalIndividual line items of a transaction. Valid Line types include: ItemBasedExpenseLine and AccountBasedExpenseLine
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Delete a bill — request body — body Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn
Line[] (anyOf 2)ModelAlternativeExpand Delete a bill — request body — body Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Linked Txn
LinkedTxnarrayOptionalZero or more transactions linked to this Bill object. The LinkedTxn.TxnType can be set to PurchaseOrder , BillPaymentCheck , or ReimburseCharge . Use LinkedTxn.TxnId as the ID of the transaction.
LinkedTxn[]ModelEach itemExpand Create a bill — request body — body Linked Txn item
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the object. The MetaData values are set by Data Services and are read only for all applications.
PrivateNotestringOptionalUser entered, organization-private note about the transaction. This note does not appear on the invoice to the customer. This field maps to the Memo field on the Invoice form.
RecurDataRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to the Recurring Transaction. It captures what recurring transaction template the Bill was created from.
Read only: true
SalesTermRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Term associated with the transaction. 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.
SyncTokenstringRequired within parent
TotalAmtJSONOptionalIndicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. Calculated by QuickBooks business logic; any value you supply is over-written by QuickBooks.
Decimal string
Read only: true
TotalAmt (anyOf 1)numberAlternative
TotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
TxnDatestringOptionalThe date entered by the user when this transaction occurred. For posting transactions, this is the posting date that affects the financial statements. If the date is not supplied, the current date on the server is used. Sort order is ASC by default.
TxnTaxDetailModelOptionalExpand Create a bill — request body — body Txn Tax Detail
This data type provides information for taxes charged on the transaction as a whole. It captures the details of all taxes calculated for the transaction based on the tax codes referenced by the transaction. This can be calculated by QuickBooks business logic or you may supply it when adding a transaction. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
VendorRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the vendor for this transaction. Query the Vendor name list resource to determine the appropriate Vendor object for this reference. Use Vendor.Id and Vendor.Name from that object for VendorRef.value and VendorRef.name , respectively.
idstringOptionalUnique identifier for this object.
Read only: true
domainstringOptional
sparsebooleanOptional

Referenced models: Read a bill — response body — Bill Meta Data, Delete a bill — request body — body Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Linked Txn, Create a bill — request body — body Currency Ref, Delete a bill — request body — body Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn, Create a bill — request body — body Linked Txn item, Create a purchase order — request body — body Ship To, Create a bill — request body — body Txn Tax Detail

Delete a bill — request body — body Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Linked Txn

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AccountBasedExpenseLineDetailModelRequired within parentExpand Create a bill — request body — body Line item Account Based Expense Line Detail
LineDetail
AmountJSONRequired within parentThe amount of the line item.
Decimal string
Amount (anyOf 1)numberAlternative
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
CustomExtensionsarrayOptionalArray of custom extension objects that associate additional attributes with the line. The ExtensionType field specifies the type of extension. The currently supported value is DIMENSION . The AssociatedValues array contains key/value pairs referencing Dimensions DefinitionID/Dimension ValueID. Multiple key/value pairs per extension type are supported. This field is designed to support additional extension types in the future. Dimensions is available for Intuit Enterprise Suite.
CustomExtensions[]ModelEach itemExpand Create an item — request body — body Custom Extensions item
DescriptionstringOptionalFree form text description of the line item that appears in the printed record.
DetailTypestringRequired within parentSet to AccountBasedExpenseLineDetail for this type of line.
IdstringOptionalThe Id of the line item. Its use in requests is as folllows: If Id is greater than zero and exists for the company, the request is considered an update operation for a line item. If no Id is provided, the Id provided is less than or equal to zero, or the Id provided is greater than zero and does not exist for the company then the request is considered a create operation for a line item. Available in all objects that use lines and support the update operation.
Read only: true
LineNumJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive Integer.
Decimal string
LineNum (anyOf 1)numberAlternative
LineNum (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
LinkedTxnarrayOptionalZero or more PurchaseOrder transactions linked to this Bill object. The LinkedTxn.TxnType should always be set to PurchaseOrder . Use LinkedTxn.TxnId as the ID of the PurchaseOrder. When updating an existing Bill to link to a PurchaseOrder a new Line must be created. This behavior matches the QuickBooks UI as it does not allow the linking of an existing line, but rather a new line must be added to link the PurchaseOrder. Over the API this is achieved by simply updating the Bill Line.Id to something new. This will ensure old bill line is deleted and the new line is linked to the PurchaseOrder.
LinkedTxn[]ModelEach itemExpand Create a bill — request body — body Linked Txn item

Referenced models: Create a bill — request body — body Line item Account Based Expense Line Detail, Create an item — request body — body Custom Extensions item, Create a bill — request body — body Linked Txn item

Delete a bill — request body — body Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AmountJSONRequired within parentThe amount of the line item.
Decimal string
Amount (anyOf 1)numberAlternative
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
CustomExtensionsarrayOptionalArray of custom extension objects that associate additional attributes with the line. The ExtensionType field specifies the type of extension. The currently supported value is DIMENSION . The AssociatedValues array contains key/value pairs referencing Dimensions DefinitionID/Dimension ValueID. Multiple key/value pairs per extension type are supported. This field is designed to support additional extension types in the future. Dimensions is available for Intuit Enterprise Suite.
CustomExtensions[]ModelEach itemExpand Create an item — request body — body Custom Extensions item
DescriptionstringOptionalFree form text description of the line item that appears in the printed record.
DetailTypestringRequired within parentSet to ItemBasedExpenseLineDetail for this type of line.
IdstringOptionalThe Id of the line item. Its use in requests is as folllows: If Id is greater than zero and exists for the company, the request is considered an update operation for a line item. If no Id is provided, the Id provided is less than or equal to zero, or the Id provided is greater than zero and does not exist for the company then the request is considered a create operation for a line item. Available in all objects that use lines and support the update operation.
Read only: true
ItemBasedExpenseLineDetailModelRequired within parentExpand Create a purchase order — request body — body Line item Item Based Expense Line Detail
LineNumJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive integer.
Decimal string
LineNum (anyOf 1)numberAlternative
LineNum (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
LinkedTxnarrayOptionalZero or more transactions linked to this object. The LinkedTxn.TxnType can be set to PurchaseOrder or it can also be set to ReimburseCharge . Use LinkedTxn.TxnId as the ID of the transaction. When updating an existing Bill to link to a PurchaseOrder a new Line must be created. This behavior matches the QuickBooks UI as it does not allow the linking of an existing line, but rather a new line must be added to link the PurchaseOrder. Over the API this is achieved by simply updating the Bill Line.Id to something new. This will ensure old bill line is deleted and the new line is linked to the PurchaseOrder. Be aware that for this PurchaseOrder-Bill linking to work all LinkedTxn child attributes are required. See child attributes below.
LinkedTxn[]ModelEach itemExpand Create a bill — request body — body Linked Txn item

Referenced models: Create an item — request body — body Custom Extensions item, Create a purchase order — request body — body Line item Item Based Expense Line Detail, Create a bill — request body — body Linked Txn item

Read a bill — response body — Bill

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
APAccountRefModelOptionalExpand Read an item — response body — Item Class Ref
Specifies to which AP account the bill is credited. Query the Account name list resource to determine the appropriate Account object for this reference. Use Account.Id and Account.Name from that object for APAccountRef.value and APAccountRef.name , respectively. The specified account must have Account.Classification set to Liability and Account.AccountSubType set to AccountsPayable . If the company has a single AP account, the account is implied. However, it is recommended that the AP Account be explicitly specified in all cases to prevent unexpected errors when relating transactions to each other.
BalanceJSONOptionalThe balance reflecting any payments made against the transaction. Initially set to the value of TotalAmt . A Balance of 0 indicates the bill is fully paid. Calculated by QuickBooks business logic; any value you supply is over-written by QuickBooks.
Decimal string
Read only: true
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
CurrencyRefModelOptionalExpand Read a bill — response body — Bill Currency Ref
Reference to the currency in which all amounts on the associated transaction are expressed. This must be defined if multicurrency is enabled for the company. Multicurrency is enabled for the company if Preferences.MultiCurrencyEnabled is set to true . Read more about multicurrency support here . Required if multicurrency is enabled for the company.
Conditionally required
DepartmentRefModelOptionalExpand Read an item — response body — Item Class Ref
A reference to a Department object specifying the location of the transaction, as defined using location tracking in QuickBooks Online. Query the Department name list resource to determine the appropriate department object for this reference. Use Department.Id and Department.Name from that object for DepartmentRef.value and DepartmentRef.name , respectively.
DocNumberJSONOptionalReference number for the transaction. If not explicitly provided at create time, a custom value can be provided. If no value is supplied, the resulting DocNumber is null. Throws an error when duplicate DocNumber is sent in the request. Recommended best practice: check the setting of Preferences:OtherPrefs before setting DocNumber. If a duplicate DocNumber needs to be supplied, add the query parameter name/value pair, include=allowduplicatedocnum to the URI. Sort order is ASC by default.
DocNumber (anyOf 1)stringAlternative
DocNumber (anyOf 2)nullAlternative
DueDatestringOptionalDate when the payment of the transaction is due. If date is not provided, the number of days specified in SalesTermRef added the transaction date will be used.
ExchangeRateJSONOptionalThe number of home currency units it takes to equal one unit of currency specified by CurrencyRef . Applicable if multicurrency is enabled for the company.
Decimal string
ExchangeRate (anyOf 1)JSONAlternative
ExchangeRate (anyOf 1) (anyOf 1)numberAlternative
ExchangeRate (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
ExchangeRate (anyOf 2)stringAlternative
GlobalTaxCalculationstringOptionalMethod in which tax is applied. Allowed values are: TaxExcluded , TaxInclusive , and NotApplicable . Not applicable to US companies; required for non-US companies.
Conditionally required
HomeBalanceJSONOptionalConvenience field containing the amount in Balance expressed in terms of the home currency. Calculated by QuickBooks business logic. Value is valid only when CurrencyRef is specified. Applicable if multicurrency is enabled for the company.
Decimal string
Read only: true
HomeBalance (anyOf 1)JSONAlternative
HomeBalance (anyOf 1) (anyOf 1)numberAlternative
HomeBalance (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
HomeBalance (anyOf 2)stringAlternative
IdstringOptionalUnique identifier for this object.
Read only: true
IncludeInAnnualTPARJSONOptionalInclude the supplier in the annual TPAR. TPAR stands for Taxable Payments Annual Report. The TPAR is mandated by ATO to get the details payments that businesses make to contractors for providing services. Some government entities also need to report the grants they have paid in a TPAR.
IncludeInAnnualTPAR (anyOf 1)booleanAlternative
IncludeInAnnualTPAR (anyOf 2)stringAlternativeKnown values: true, false
LinearrayOptionalIndividual line items of a transaction. Valid Line types include: ItemBasedExpenseLine and AccountBasedExpenseLine
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Read a bill — response body — Bill Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn
Line[] (anyOf 2)ModelAlternativeExpand Read a bill — response body — Bill Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Linked Txn
LinkedTxnarrayOptionalZero or more transactions linked to this Bill object. The LinkedTxn.TxnType can be set to PurchaseOrder , BillPaymentCheck , or ReimburseCharge . Use LinkedTxn.TxnId as the ID of the transaction.
LinkedTxn[]ModelEach itemExpand Read a bill — response body — Bill Linked Txn item
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the object. The MetaData values are set by Data Services and are read only for all applications.
PrivateNotestringOptionalUser entered, organization-private note about the transaction. This note does not appear on the invoice to the customer. This field maps to the Memo field on the Invoice form.
RecurDataRefModelOptionalExpand Read an item — response body — Item Class Ref
A reference to the Recurring Transaction. It captures what recurring transaction template the Bill was created from.
Read only: true
SalesTermRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the Term associated with the transaction. 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.
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
TotalAmtJSONOptionalIndicates the total amount of the transaction. This includes the total of all the charges, allowances, and taxes. Calculated by QuickBooks business logic; any value you supply is over-written by QuickBooks.
Decimal string
Read only: true
TotalAmt (anyOf 1)JSONAlternative
TotalAmt (anyOf 1) (anyOf 1)numberAlternative
TotalAmt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalAmt (anyOf 2)stringAlternative
TxnDatestringOptionalThe date entered by the user when this transaction occurred. For posting transactions, this is the posting date that affects the financial statements. If the date is not supplied, the current date on the server is used. Sort order is ASC by default.
TxnTaxDetailModelOptionalExpand Read a bill — response body — Bill Txn Tax Detail
This data type provides information for taxes charged on the transaction as a whole. It captures the details of all taxes calculated for the transaction based on the tax codes referenced by the transaction. This can be calculated by QuickBooks business logic or you may supply it when adding a transaction. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
VendorRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the vendor for this transaction. Query the Vendor name list resource to determine the appropriate Vendor object for this reference. Use Vendor.Id and Vendor.Name from that object for VendorRef.value and VendorRef.name , respectively.

Referenced models: Read a bill — response body — Bill Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Linked Txn, Read a bill — response body — Bill Currency Ref, Read a bill — response body — Bill Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn, Read a bill — response body — Bill Linked Txn item, Read a bill — response body — Bill Meta Data, Read an item — response body — Item Class Ref, Read a bill — response body — Bill Txn Tax Detail

Read a bill — response body — Bill Currency Ref

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
namestringOptionalThe full name of the currency.
valueJSONOptional
value (anyOf 1)stringAlternative
value (anyOf 2)JSONAlternative
value (anyOf 2) (anyOf 1)integerAlternative
value (anyOf 2) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Read a bill — response body — Bill Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Linked Txn

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AccountBasedExpenseLineDetailModelOptionalExpand Read a purchase — response body — Purchase Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num Account Based Expense Line Detail
LineDetail
AmountJSONOptionalThe amount of the line item.
Decimal string
Amount (anyOf 1)JSONAlternative
Amount (anyOf 1) (anyOf 1)numberAlternative
Amount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Amount (anyOf 2)stringAlternative
CustomExtensionsarrayOptionalArray of custom extension objects that associate additional attributes with the line. The ExtensionType field specifies the type of extension. The currently supported value is DIMENSION . The AssociatedValues array contains key/value pairs referencing Dimensions DefinitionID/Dimension ValueID. Multiple key/value pairs per extension type are supported. This field is designed to support additional extension types in the future. Dimensions is available for Intuit Enterprise Suite.
CustomExtensions[]ModelEach itemExpand Read an item — response body — Item Custom Extensions item
DescriptionstringOptionalFree form text description of the line item that appears in the printed record.
DetailTypestringOptionalSet to AccountBasedExpenseLineDetail for this type of line.
IdstringOptionalThe Id of the line item. Its use in requests is as folllows: If Id is greater than zero and exists for the company, the request is considered an update operation for a line item. If no Id is provided, the Id provided is less than or equal to zero, or the Id provided is greater than zero and does not exist for the company then the request is considered a create operation for a line item. Available in all objects that use lines and support the update operation.
Read only: true
LineNumJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive Integer.
Decimal string
LineNum (anyOf 1)JSONAlternative
LineNum (anyOf 1) (anyOf 1)numberAlternative
LineNum (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
LineNum (anyOf 2)stringAlternative
LinkedTxnarrayOptionalZero or more PurchaseOrder transactions linked to this Bill object. The LinkedTxn.TxnType should always be set to PurchaseOrder . Use LinkedTxn.TxnId as the ID of the PurchaseOrder. When updating an existing Bill to link to a PurchaseOrder a new Line must be created. This behavior matches the QuickBooks UI as it does not allow the linking of an existing line, but rather a new line must be added to link the PurchaseOrder. Over the API this is achieved by simply updating the Bill Line.Id to something new. This will ensure old bill line is deleted and the new line is linked to the PurchaseOrder.
LinkedTxn[]ModelEach itemExpand Read a bill — response body — Bill Linked Txn item

Referenced models: Read a purchase — response body — Purchase Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num Account Based Expense Line Detail, Read an item — response body — Item Custom Extensions item, Read a bill — response body — Bill Linked Txn item

Read a bill — response body — Bill Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AmountJSONOptionalThe amount of the line item.
Decimal string
Amount (anyOf 1)JSONAlternative
Amount (anyOf 1) (anyOf 1)numberAlternative
Amount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Amount (anyOf 2)stringAlternative
CustomExtensionsarrayOptionalArray of custom extension objects that associate additional attributes with the line. The ExtensionType field specifies the type of extension. The currently supported value is DIMENSION . The AssociatedValues array contains key/value pairs referencing Dimensions DefinitionID/Dimension ValueID. Multiple key/value pairs per extension type are supported. This field is designed to support additional extension types in the future. Dimensions is available for Intuit Enterprise Suite.
CustomExtensions[]ModelEach itemExpand Read an item — response body — Item Custom Extensions item
DescriptionstringOptionalFree form text description of the line item that appears in the printed record.
DetailTypestringOptionalSet to ItemBasedExpenseLineDetail for this type of line.
IdstringOptionalThe Id of the line item. Its use in requests is as folllows: If Id is greater than zero and exists for the company, the request is considered an update operation for a line item. If no Id is provided, the Id provided is less than or equal to zero, or the Id provided is greater than zero and does not exist for the company then the request is considered a create operation for a line item. Available in all objects that use lines and support the update operation.
Read only: true
ItemBasedExpenseLineDetailModelOptionalExpand Read a bill — response body — Bill Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn Item Based Expense Line Detail
LineNumJSONOptionalSpecifies the position of the line in the collection of transaction lines. Positive integer.
Decimal string
LineNum (anyOf 1)JSONAlternative
LineNum (anyOf 1) (anyOf 1)numberAlternative
LineNum (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
LineNum (anyOf 2)stringAlternative
LinkedTxnarrayOptionalZero or more transactions linked to this object. The LinkedTxn.TxnType can be set to PurchaseOrder or it can also be set to ReimburseCharge . Use LinkedTxn.TxnId as the ID of the transaction. When updating an existing Bill to link to a PurchaseOrder a new Line must be created. This behavior matches the QuickBooks UI as it does not allow the linking of an existing line, but rather a new line must be added to link the PurchaseOrder. Over the API this is achieved by simply updating the Bill Line.Id to something new. This will ensure old bill line is deleted and the new line is linked to the PurchaseOrder. Be aware that for this PurchaseOrder-Bill linking to work all LinkedTxn child attributes are required. See child attributes below.
LinkedTxn[]ModelEach itemExpand Read a bill — response body — Bill Linked Txn item

Referenced models: Read an item — response body — Item Custom Extensions item, Read a bill — response body — Bill Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn Item Based Expense Line Detail, Read a bill — response body — Bill Linked Txn item

Read a bill — response body — Bill Line item Amount, Custom Extensions, Description, Detail Type, Id, Item Based Expense Line Detail, Line Num, Linked Txn Item Based Expense Line Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
BillableStatusstringOptionalThe billable status of the expense. This field is not updatable through an API request. The value automatically changes when an invoice is created. Valid values: Billable , NotBillable , HasBeenBilled
Read only: true
ClassRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the Class associated with the expense. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerLine is set to true . Query the Class name list resource to determine the appropriate Class object for this reference. Use Class.Id and Class.Name from that object for ClassRef.value and ClassRef.name , respectively.
CustomerRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to a 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 CustomerRef.value and CustomerRef.name , respectively.
ItemRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the Item. Query the Item name list resource to determine the appropriate Item object for this reference. Use Item.Id and Item.Name from that object for ItemRef.value and ItemRef.name , respectively. When a line lacks an ItemRef it is treated as documentation and the Line.Amount attribute is ignored. For France locales: The account associated with the referenced Item object is looked up in the account category list. If this account has same location as specified in the transaction by the TransactionLocationType attribute and the same VAT as in the line item TaxCodeRef attribute, then the item account is used. If there is a mismatch, then the account from the account category list that matches the transaction location and VAT is used. If this account is not present in the account category list, then a new account is created with the new location, new VAT code, and all other attributes as in the default account.
MarkupInfoModelOptionalExpand Read an invoice — response body — Invoice Line item Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Sales Item Line Detail Sales Item Line Detail Markup Info
Markup information for the expense.
PriceLevelRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the PriceLevel of the service or item for the line. Support for this element will be available in the coming months.
QtyJSONOptionalNumber of items for the line.
Decimal string
Qty (anyOf 1)JSONAlternative
Qty (anyOf 1) (anyOf 1)numberAlternative
Qty (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Qty (anyOf 2)stringAlternative
TaxCodeRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the TaxCode for this item. 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 TaxCodeRef.value and TaxCodeRef.name , respectively.
TaxInclusiveAmtJSONOptionalThe total amount of the line item including tax.
Decimal string
TaxInclusiveAmt (anyOf 1)JSONAlternative
TaxInclusiveAmt (anyOf 1) (anyOf 1)numberAlternative
TaxInclusiveAmt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxInclusiveAmt (anyOf 2)stringAlternative
UnitPriceJSONOptionalUnit price of the subject item as referenced by ItemRef . Corresponds to the Rate column on the QuickBooks Online UI to specify either unit price, a discount, or a tax rate for item. If used for unit price, the monetary value of the service or product, as expressed in the home currency. If used for a discount or tax rate, express the percentage as a fraction. For example, specify 0.4 for 40% tax.
Decimal string
UnitPrice (anyOf 1)JSONAlternative
UnitPrice (anyOf 1) (anyOf 1)numberAlternative
UnitPrice (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
UnitPrice (anyOf 2)stringAlternative

Referenced models: Read an invoice — response body — Invoice Line item Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Sales Item Line Detail Sales Item Line Detail Markup Info, Read an item — response body — Item Class Ref

Read a bill — response body — Bill Linked Txn item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
TxnIdstringOptionalTransaction Id of the related transaction.
TxnLineIdstringOptionalRequired for Deposit and Bill entities. The line number of a specific line of the linked transaction. If supplied, the TxnId and TxnType attributes of the linked transaction must also be populated.
Conditionally required
TxnTypestringOptionalTransaction type of the linked object.

Read a bill — response body — Bill Meta Data

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
CreateTimestringOptionalTime the entity was created in the source domain.
Read only: true
LastUpdatedTimestringOptionalTime the entity was last updated in the source domain.
Read only: true

Read a bill — response body — Bill Txn Tax Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
TaxLinearrayOptional
TaxLine[]ModelEach itemExpand Read a bill — response body — Bill Txn Tax Detail Tax Line item
TotalTaxJSONOptionalTotal tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list.
Decimal string
TotalTax (anyOf 1)JSONAlternative
TotalTax (anyOf 1) (anyOf 1)numberAlternative
TotalTax (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalTax (anyOf 2)stringAlternative
TxnTaxCodeRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the transaction tax code. 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 TaxCodeRef.value and TaxCodeRef.name , respectively. If specified and sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ), this element is ignored and not returned. For sales transactions, only: if automated sales tax is enabled ( Preferences.TaxPrefs.PartnerTaxEnabled is set to true ) the supplied transaction tax code is replaced by the automated sales tax engine recommendation.

Referenced models: Read an item — response body — Item Class Ref, Read a bill — response body — Bill Txn Tax Detail Tax Line item

Read a bill — response body — Bill Txn Tax Detail Tax Line item

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AmountJSONOptionalThe amount of tax for this tax line. This value is negative for JournalEntry objects with PostingType set to Credit.
Decimal string
Amount (anyOf 1)JSONAlternative
Amount (anyOf 1) (anyOf 1)numberAlternative
Amount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Amount (anyOf 2)stringAlternative
DetailTypestringOptionalSet to TaxLineDetail for this type of line.
TaxLineDetailModelOptionalExpand Read a bill — response body — Bill Txn Tax Detail Tax Line item Tax Line Detail
TaxLineDetail

Referenced models: Read a bill — response body — Bill Txn Tax Detail Tax Line item Tax Line Detail

Read a bill — response body — Bill Txn Tax Detail Tax Line item Tax Line Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
NetAmountTaxableJSONOptionalThis is the taxable amount on the total of the applicable tax rates. If TaxRate is applicable on two lines, this attribute represents the total of the two lines for which this rate is applied. This is different from the Line.Amount , which represents the final tax amount after the tax has been applied. Default Value: Null
Decimal string
NetAmountTaxable (anyOf 1)JSONAlternative
NetAmountTaxable (anyOf 1) (anyOf 1)numberAlternative
NetAmountTaxable (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
NetAmountTaxable (anyOf 2)stringAlternative
NetAmountTaxable (anyOf 3)nullAlternative
OverrideDeltaAmountJSONOptionalThe difference between the actual tax and the overridden amount supplied by the user.
Decimal string
OverrideDeltaAmount (anyOf 1)JSONAlternative
OverrideDeltaAmount (anyOf 1) (anyOf 1)numberAlternative
OverrideDeltaAmount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
OverrideDeltaAmount (anyOf 2)stringAlternative
PercentBasedJSONOptionalTrue —sales tax rate is expressed as a percentage. False —sales tax rate is expressed as a number amount.
PercentBased (anyOf 1)booleanAlternative
PercentBased (anyOf 2)stringAlternativeKnown values: true, false
TaxInclusiveAmountJSONOptionalThis is the total amount, including tax.
Decimal string
TaxInclusiveAmount (anyOf 1)JSONAlternative
TaxInclusiveAmount (anyOf 1) (anyOf 1)numberAlternative
TaxInclusiveAmount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxInclusiveAmount (anyOf 2)stringAlternative
TaxPercentJSONOptionalNumerical expression of the sales tax percent. For example, use "8.5" not "0.085".
Decimal string
TaxPercent (anyOf 1)JSONAlternative
TaxPercent (anyOf 1) (anyOf 1)numberAlternative
TaxPercent (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TaxPercent (anyOf 2)stringAlternative
TaxRateRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to a TaxRate to apply to the entire transaction. Query the TaxRate name list resource to determine the appropriate TaxRage object for this reference. Use TaxRate.Id and TaxRate.Name from that object for TaxRateRef.value and TaxRateRef.name , respectively. For non-US versions of QuickBooks, the TaxRate referenced here must also be one of the rates in the referenced tax code's rate list—either the SalesTaxRateList or the PurchaseTaxRateList—as applies to the transaction type. Any given rate may only be listed once.

Referenced models: Read an item — response body — Item Class Ref

Report an issue with this page

Necessary

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

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

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

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

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