QuickBooks: Bill schemas
20 QuickBooks schemas with complete fields and constraints.
← Bill operations · All schemas
Create a bill — request body — body Currency Ref
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
name | string | Optional | The full name of the currency. |
value | JSON | Required within parent | |
value (anyOf 1) | string | Alternative | |
value (anyOf 2) | integer | Alternative | Minimum: 0 Maximum: 9007199254740991 |
Create a bill — request body — body Line item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
AccountBasedExpenseLineDetail | Model | Required within parent | Expand Create a bill — request body — body Line item Account Based Expense Line Detail LineDetail |
Amount | JSON | Required within parent | The amount of the line item. Decimal string |
Amount (anyOf 1) | number | Alternative | |
Amount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
CustomExtensions | array | Optional | Array 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[] | Model | Each item | Expand Create an item — request body — body Custom Extensions item |
Description | string | Optional | Free form text description of the line item that appears in the printed record. |
DetailType | string | Required within parent | Set to AccountBasedExpenseLineDetail for this type of line. |
Id | string | Optional | The 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 |
LineNum | JSON | Optional | Specifies the position of the line in the collection of transaction lines. Positive Integer. Decimal string |
LineNum (anyOf 1) | number | Alternative | |
LineNum (anyOf 2) | string | Alternative | Pattern: ^-?[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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
AccountRef | Model | Required within parent | Expand 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. |
BillableStatus | string | Optional | The 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 |
ClassRef | Model | Optional | Expand 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. |
CustomerRef | Model | Optional | Expand 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. |
MarkupInfo | Model | Optional | Expand Create a change order — request body — body Line item Sales Item Line Detail Markup Info Markup information for the expense. |
TaxAmount | JSON | Optional | Sales tax paid as part of the expense. Decimal string |
TaxAmount (anyOf 1) | number | Alternative | |
TaxAmount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
TaxCodeRef | Model | Optional | Expand 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. |
TaxInclusiveAmt | JSON | Optional | The total amount of the line item including tax. Decimal string |
TaxInclusiveAmt (anyOf 1) | number | Alternative | |
TaxInclusiveAmt (anyOf 2) | string | Alternative | Pattern: ^-?[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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
TxnId | string | Required within parent | Transaction Id of the related transaction. |
TxnLineId | string | Optional | Required 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 |
TxnType | string | Required within parent | Transaction type of the linked object. |
Create a bill — request body — body Txn Tax Detail
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
TaxLine | array | Optional | |
TaxLine[] | Model | Each item | Expand Create a bill — request body — body Txn Tax Detail Tax Line item |
TotalTax | JSON | Optional | Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. Decimal string |
TotalTax (anyOf 1) | number | Alternative | |
TotalTax (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
TxnTaxCodeRef | Model | Optional | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
Amount | JSON | Optional | The amount of tax for this tax line. This value is negative for JournalEntry objects with PostingType set to Credit. Decimal string |
Amount (anyOf 1) | number | Alternative | |
Amount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
DetailType | string | Required within parent | Set to TaxLineDetail for this type of line. |
TaxLineDetail | Model | Required within parent | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
NetAmountTaxable | JSON | Optional | This 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) | number | Alternative | |
NetAmountTaxable (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
NetAmountTaxable (anyOf 3) | null | Alternative | |
OverrideDeltaAmount | JSON | Optional | The difference between the actual tax and the overridden amount supplied by the user. Decimal string |
OverrideDeltaAmount (anyOf 1) | number | Alternative | |
OverrideDeltaAmount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
PercentBased | JSON | Optional | True —sales tax rate is expressed as a percentage. False —sales tax rate is expressed as a number amount. |
PercentBased (anyOf 1) | boolean | Alternative | |
PercentBased (anyOf 2) | string | Alternative | One of: true, false |
TaxInclusiveAmount | JSON | Optional | This is the total amount, including tax. Decimal string |
TaxInclusiveAmount (anyOf 1) | number | Alternative | |
TaxInclusiveAmount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
TaxPercent | JSON | Optional | Numerical expression of the sales tax percent. For example, use "8.5" not "0.085". Decimal string |
TaxPercent (anyOf 1) | number | Alternative | |
TaxPercent (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
TaxRateRef | Model | Required within parent | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
APAccountRef | Model | Optional | Expand 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. |
Balance | JSON | Optional | The 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) | number | Alternative | |
Balance (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
CurrencyRef | Model | Optional | Expand 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 |
DepartmentRef | Model | Optional | Expand 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. |
DocNumber | JSON | Optional | Reference 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) | string | Alternative | |
DocNumber (anyOf 2) | null | Alternative | |
DueDate | string | Optional | Date 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. |
ExchangeRate | JSON | Optional | The 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) | number | Alternative | |
ExchangeRate (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
GlobalTaxCalculation | string | Optional | Method in which tax is applied. Allowed values are: TaxExcluded , TaxInclusive , and NotApplicable . Not applicable to US companies; required for non-US companies. Conditionally required |
HomeBalance | JSON | Optional | Convenience 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) | number | Alternative | |
HomeBalance (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
Id | string | Required within parent | |
IncludeInAnnualTPAR | JSON | Optional | Include 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) | boolean | Alternative | |
IncludeInAnnualTPAR (anyOf 2) | string | Alternative | One of: true, false |
Line | array | Optional | Individual line items of a transaction. Valid Line types include: ItemBasedExpenseLine and AccountBasedExpenseLine |
Line[] | JSON | Each item | |
Line[] (anyOf 1) | Model | Alternative | Expand 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) | Model | Alternative | Expand Delete a bill — request body — body Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Linked Txn |
LinkedTxn | array | Optional | Zero 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[] | Model | Each item | Expand Create a bill — request body — body Linked Txn item |
MetaData | Model | Optional | Expand 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. |
PrivateNote | string | Optional | User 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. |
RecurDataRef | Model | Optional | Expand 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 |
SalesTermRef | Model | Optional | Expand 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. |
SyncToken | string | Required within parent | |
TotalAmt | JSON | Optional | Indicates 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) | number | Alternative | |
TotalAmt (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
TxnDate | string | Optional | The 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. |
TxnTaxDetail | Model | Optional | Expand 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. |
VendorRef | Model | Optional | Expand 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. |
id | string | Optional | Unique identifier for this object. Read only: true |
domain | string | Optional | |
sparse | boolean | Optional |
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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
AccountBasedExpenseLineDetail | Model | Required within parent | Expand Create a bill — request body — body Line item Account Based Expense Line Detail LineDetail |
Amount | JSON | Required within parent | The amount of the line item. Decimal string |
Amount (anyOf 1) | number | Alternative | |
Amount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
CustomExtensions | array | Optional | Array 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[] | Model | Each item | Expand Create an item — request body — body Custom Extensions item |
Description | string | Optional | Free form text description of the line item that appears in the printed record. |
DetailType | string | Required within parent | Set to AccountBasedExpenseLineDetail for this type of line. |
Id | string | Optional | The 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 |
LineNum | JSON | Optional | Specifies the position of the line in the collection of transaction lines. Positive Integer. Decimal string |
LineNum (anyOf 1) | number | Alternative | |
LineNum (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
LinkedTxn | array | Optional | Zero 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[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
Amount | JSON | Required within parent | The amount of the line item. Decimal string |
Amount (anyOf 1) | number | Alternative | |
Amount (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
CustomExtensions | array | Optional | Array 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[] | Model | Each item | Expand Create an item — request body — body Custom Extensions item |
Description | string | Optional | Free form text description of the line item that appears in the printed record. |
DetailType | string | Required within parent | Set to ItemBasedExpenseLineDetail for this type of line. |
Id | string | Optional | The 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 |
ItemBasedExpenseLineDetail | Model | Required within parent | Expand Create a purchase order — request body — body Line item Item Based Expense Line Detail |
LineNum | JSON | Optional | Specifies the position of the line in the collection of transaction lines. Positive integer. Decimal string |
LineNum (anyOf 1) | number | Alternative | |
LineNum (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?$ |
LinkedTxn | array | Optional | Zero 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[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
APAccountRef | Model | Optional | Expand 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. |
Balance | JSON | Optional | The 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) | JSON | Alternative | |
Balance (anyOf 1) (anyOf 1) | number | Alternative | |
Balance (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Balance (anyOf 2) | string | Alternative | |
CurrencyRef | Model | Optional | Expand 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 |
DepartmentRef | Model | Optional | Expand 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. |
DocNumber | JSON | Optional | Reference 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) | string | Alternative | |
DocNumber (anyOf 2) | null | Alternative | |
DueDate | string | Optional | Date 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. |
ExchangeRate | JSON | Optional | The 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) | JSON | Alternative | |
ExchangeRate (anyOf 1) (anyOf 1) | number | Alternative | |
ExchangeRate (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
ExchangeRate (anyOf 2) | string | Alternative | |
GlobalTaxCalculation | string | Optional | Method in which tax is applied. Allowed values are: TaxExcluded , TaxInclusive , and NotApplicable . Not applicable to US companies; required for non-US companies. Conditionally required |
HomeBalance | JSON | Optional | Convenience 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) | JSON | Alternative | |
HomeBalance (anyOf 1) (anyOf 1) | number | Alternative | |
HomeBalance (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
HomeBalance (anyOf 2) | string | Alternative | |
Id | string | Optional | Unique identifier for this object. Read only: true |
IncludeInAnnualTPAR | JSON | Optional | Include 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) | boolean | Alternative | |
IncludeInAnnualTPAR (anyOf 2) | string | Alternative | Known values: true, false |
Line | array | Optional | Individual line items of a transaction. Valid Line types include: ItemBasedExpenseLine and AccountBasedExpenseLine |
Line[] | JSON | Each item | |
Line[] (anyOf 1) | Model | Alternative | Expand 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) | Model | Alternative | Expand Read a bill — response body — Bill Line item Account Based Expense Line Detail, Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Linked Txn |
LinkedTxn | array | Optional | Zero 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[] | Model | Each item | Expand Read a bill — response body — Bill Linked Txn item |
MetaData | Model | Optional | Expand 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. |
PrivateNote | string | Optional | User 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. |
RecurDataRef | Model | Optional | Expand 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 |
SalesTermRef | Model | Optional | Expand 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. |
SyncToken | string | Optional | Version 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 |
TotalAmt | JSON | Optional | Indicates 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) | JSON | Alternative | |
TotalAmt (anyOf 1) (anyOf 1) | number | Alternative | |
TotalAmt (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
TotalAmt (anyOf 2) | string | Alternative | |
TxnDate | string | Optional | The 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. |
TxnTaxDetail | Model | Optional | Expand 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. |
VendorRef | Model | Optional | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
name | string | Optional | The full name of the currency. |
value | JSON | Optional | |
value (anyOf 1) | string | Alternative | |
value (anyOf 2) | JSON | Alternative | |
value (anyOf 2) (anyOf 1) | integer | Alternative | |
value (anyOf 2) (anyOf 2) | string | Alternative | Pattern: ^-?[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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
AccountBasedExpenseLineDetail | Model | Optional | Expand 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 |
Amount | JSON | Optional | The amount of the line item. Decimal string |
Amount (anyOf 1) | JSON | Alternative | |
Amount (anyOf 1) (anyOf 1) | number | Alternative | |
Amount (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Amount (anyOf 2) | string | Alternative | |
CustomExtensions | array | Optional | Array 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[] | Model | Each item | Expand Read an item — response body — Item Custom Extensions item |
Description | string | Optional | Free form text description of the line item that appears in the printed record. |
DetailType | string | Optional | Set to AccountBasedExpenseLineDetail for this type of line. |
Id | string | Optional | The 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 |
LineNum | JSON | Optional | Specifies the position of the line in the collection of transaction lines. Positive Integer. Decimal string |
LineNum (anyOf 1) | JSON | Alternative | |
LineNum (anyOf 1) (anyOf 1) | number | Alternative | |
LineNum (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
LineNum (anyOf 2) | string | Alternative | |
LinkedTxn | array | Optional | Zero 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[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
Amount | JSON | Optional | The amount of the line item. Decimal string |
Amount (anyOf 1) | JSON | Alternative | |
Amount (anyOf 1) (anyOf 1) | number | Alternative | |
Amount (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Amount (anyOf 2) | string | Alternative | |
CustomExtensions | array | Optional | Array 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[] | Model | Each item | Expand Read an item — response body — Item Custom Extensions item |
Description | string | Optional | Free form text description of the line item that appears in the printed record. |
DetailType | string | Optional | Set to ItemBasedExpenseLineDetail for this type of line. |
Id | string | Optional | The 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 |
ItemBasedExpenseLineDetail | Model | Optional | Expand 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 |
LineNum | JSON | Optional | Specifies the position of the line in the collection of transaction lines. Positive integer. Decimal string |
LineNum (anyOf 1) | JSON | Alternative | |
LineNum (anyOf 1) (anyOf 1) | number | Alternative | |
LineNum (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
LineNum (anyOf 2) | string | Alternative | |
LinkedTxn | array | Optional | Zero 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[] | Model | Each item | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
BillableStatus | string | Optional | The 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 |
ClassRef | Model | Optional | Expand 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. |
CustomerRef | Model | Optional | Expand 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. |
ItemRef | Model | Optional | Expand 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. |
MarkupInfo | Model | Optional | Expand 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. |
PriceLevelRef | Model | Optional | Expand 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. |
Qty | JSON | Optional | Number of items for the line. Decimal string |
Qty (anyOf 1) | JSON | Alternative | |
Qty (anyOf 1) (anyOf 1) | number | Alternative | |
Qty (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Qty (anyOf 2) | string | Alternative | |
TaxCodeRef | Model | Optional | Expand 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. |
TaxInclusiveAmt | JSON | Optional | The total amount of the line item including tax. Decimal string |
TaxInclusiveAmt (anyOf 1) | JSON | Alternative | |
TaxInclusiveAmt (anyOf 1) (anyOf 1) | number | Alternative | |
TaxInclusiveAmt (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
TaxInclusiveAmt (anyOf 2) | string | Alternative | |
UnitPrice | JSON | Optional | Unit 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) | JSON | Alternative | |
UnitPrice (anyOf 1) (anyOf 1) | number | Alternative | |
UnitPrice (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
UnitPrice (anyOf 2) | string | Alternative |
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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
TxnId | string | Optional | Transaction Id of the related transaction. |
TxnLineId | string | Optional | Required 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 |
TxnType | string | Optional | Transaction type of the linked object. |
Read a bill — response body — Bill Meta Data
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
CreateTime | string | Optional | Time the entity was created in the source domain. Read only: true |
LastUpdatedTime | string | Optional | Time the entity was last updated in the source domain. Read only: true |
Read a bill — response body — Bill Txn Tax Detail
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
TaxLine | array | Optional | |
TaxLine[] | Model | Each item | Expand Read a bill — response body — Bill Txn Tax Detail Tax Line item |
TotalTax | JSON | Optional | Total tax calculated for the transaction, excluding any tax lines manually inserted into the transaction line list. Decimal string |
TotalTax (anyOf 1) | JSON | Alternative | |
TotalTax (anyOf 1) (anyOf 1) | number | Alternative | |
TotalTax (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
TotalTax (anyOf 2) | string | Alternative | |
TxnTaxCodeRef | Model | Optional | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
Amount | JSON | Optional | The amount of tax for this tax line. This value is negative for JournalEntry objects with PostingType set to Credit. Decimal string |
Amount (anyOf 1) | JSON | Alternative | |
Amount (anyOf 1) (anyOf 1) | number | Alternative | |
Amount (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Amount (anyOf 2) | string | Alternative | |
DetailType | string | Optional | Set to TaxLineDetail for this type of line. |
TaxLineDetail | Model | Optional | Expand 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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: allowed |
NetAmountTaxable | JSON | Optional | This 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) | JSON | Alternative | |
NetAmountTaxable (anyOf 1) (anyOf 1) | number | Alternative | |
NetAmountTaxable (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
NetAmountTaxable (anyOf 2) | string | Alternative | |
NetAmountTaxable (anyOf 3) | null | Alternative | |
OverrideDeltaAmount | JSON | Optional | The difference between the actual tax and the overridden amount supplied by the user. Decimal string |
OverrideDeltaAmount (anyOf 1) | JSON | Alternative | |
OverrideDeltaAmount (anyOf 1) (anyOf 1) | number | Alternative | |
OverrideDeltaAmount (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
OverrideDeltaAmount (anyOf 2) | string | Alternative | |
PercentBased | JSON | Optional | True —sales tax rate is expressed as a percentage. False —sales tax rate is expressed as a number amount. |
PercentBased (anyOf 1) | boolean | Alternative | |
PercentBased (anyOf 2) | string | Alternative | Known values: true, false |
TaxInclusiveAmount | JSON | Optional | This is the total amount, including tax. Decimal string |
TaxInclusiveAmount (anyOf 1) | JSON | Alternative | |
TaxInclusiveAmount (anyOf 1) (anyOf 1) | number | Alternative | |
TaxInclusiveAmount (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
TaxInclusiveAmount (anyOf 2) | string | Alternative | |
TaxPercent | JSON | Optional | Numerical expression of the sales tax percent. For example, use "8.5" not "0.085". Decimal string |
TaxPercent (anyOf 1) | JSON | Alternative | |
TaxPercent (anyOf 1) (anyOf 1) | number | Alternative | |
TaxPercent (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
TaxPercent (anyOf 2) | string | Alternative | |
TaxRateRef | Model | Optional | Expand 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