Skip to content

QuickBooks: Recurringtransaction schemas

15 QuickBooks schemas with complete fields and constraints.

← Recurringtransaction operations · All schemas

Create a recurring transaction — request body — body Bill

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: 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]+)?$
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)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.
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)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.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

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 recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To, Create a bill — request body — body Txn Tax Detail

Create a recurring transaction — request body — body Bill Recurring Info

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
ActiveJSONOptionalThis setting indicates whether the recurring schedule is enabled.
Active (anyOf 1)booleanAlternative
Active (anyOf 2)stringAlternativeOne of: true, false
NamestringOptionalThe name of the recurring schedule template.
RecurTypestringOptionalThe recur type which can be Automated , Reminded or UnScheduled .
ScheduleInfoModelOptionalExpand Create a recurring transaction — request body — body Bill Recurring Info Schedule Info
Describes the scheduling information for the transaction.

Referenced models: Create a recurring transaction — request body — body Bill Recurring Info Schedule Info

Create a recurring transaction — request body — body Bill Recurring Info Schedule Info

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
DayOfMonthJSONOptional
DayOfMonth (anyOf 1)stringAlternativeThe day of the month.
DayOfMonth (anyOf 2)integerAlternative
DayOfWeekstringOptionalThe day of the week.
DaysBeforeJSONOptional
DaysBefore (anyOf 1)stringAlternativeThe days before the scheduled date.
DaysBefore (anyOf 2)integerAlternative
EndDatestringOptionalThe end date for the recurring schedule.
IntervalTypestringOptionalSpecifies the interval type. Values for IntervalType can be one of the following: Yearly — The allowed properties for yearly interval type are : ScheduleInfo.StartDate ScheduleInfo.EndDate or ScheduleInfo.MaxOccurrences ScheduleInfo.DaysBefore (or ScheduleInfo.RemindDays for Reminded RecurType) ScheduleInfo.MonthOfYear ScheduleInfo.DayOfMonth Monthly — The allowed properties for monthly interval type are : ScheduleInfo.NumInterval ScheduleInfo.StartDate ScheduleInfo.EndDate or ScheduleInfo.MaxOccurrences ScheduleInfo.DaysBefore (or ScheduleInfo.RemindDays for Reminded RecurType) (ScheduleInfo.DayOfWeek and ScheduleInfo.WeekOfMonth) or ScheduleInfo.DayOfMonth Weekly — The allowed properties for weekly interval type are : ScheduleInfo.NumInterval ScheduleInfo.StartDate ScheduleInfo.EndDate or ScheduleInfo.MaxOccurrence ScheduleInfo.DaysBefore(or ScheduleInfo.RemindDays for Reminded RecurType) ScheduleInfo.DayOfWeek Daily — The allowed properties for daily interval type are : ScheduleInfo.NumInterval ScheduleInfo.StartDate ScheduleInfo.EndDate or ScheduleInfo.MaxOccurrences ScheduleInfo.DaysBefore (or ScheduleInfo.RemindDays for Reminded RecurType)
MaxOccurrencesJSONOptional
MaxOccurrences (anyOf 1)stringAlternativeThe max number of recurring occurrences.
MaxOccurrences (anyOf 2)integerAlternative
MonthOfYearstringOptionalThe month of the year.
NextDatestringOptionalThe date when the next transaction is created.
Read only: true
NumIntervalJSONOptional
NumInterval (anyOf 1)stringAlternativeThe interval based on the interval type.
NumInterval (anyOf 2)integerAlternative
PreviousDatestringOptionalThe date when the last transaction is created.
Read only: true
RemindDaysstringOptionalThe days before start date for a reminded RecurType.
StartDatestringOptionalThe start date for the recurring schedule
WeekOfMonthstringOptionalThe week of the month.

Create a recurring transaction — request body — body Deposit

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
CashBackModelOptionalExpand Create a deposit — request body — body Cash Back
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 . The CurrencyRef can be overwritten by the Line.DepositLineDetail Entity. If the customer that you are referring to has a default currency of USD then the currency for this Deposit will always be set as USD.
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. Available if Preferences.AccountingInfoPrefs.TrackDepartments is set to true . 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.
DepositToAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Identifies the account to be used for this deposit. Query the Account name list resource to determine the appropriate Account object for this reference, where Account.AccountType is Other Current Asset or Bank . Use Account.Id and Account.Name from that object for DepositToAccountRef.value and DepostiToAccountRef.name , respectively.
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
HomeTotalAmtJSONOptionalTotal amount of the transaction in the home currency. Includes the total of all the charges, allowances and taxes. 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
HomeTotalAmt (anyOf 1)numberAlternative
HomeTotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
IdstringOptionalUnique identifier for this object.
Read only: true
LinearrayOptionalIndividual line items comprising the deposit. Specify a Line.LinkedTxn element along with DepositLine detail type if this line is to record a deposit for an existing transaction. Select UndepositedFunds account on the existing transaction to make it available for the Deposit. Possible types of transactions that can be linked to a Deposit include: Transfer , Payment (for Cash, CreditCard, and Check payment method types), SalesReceipt , RefundReceipt , JournalEntry . In addition, any expense object whose line item has AccountReceivable can be linked to a Payment and then that Payment can be linked to a Deposit object. Use Line.LinkedTxn.TxnId as the ID in a separate read request for the specific resource to retrieve details of the linked object. Valid Line types include: LinkedTxn and DepositLine
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Void a payment — request body — body Line item
Line[] (anyOf 2)ModelAlternativeExpand Create a deposit — request body — body Line item Amount, Custom Extensions, Custom Field, Deposit Line Detail, Description, Detail Type, Id, Line Num, Project Ref
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 Deposit was created from.
Read only: true
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)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.
TxnSourcestringOptionalUsed internally to specify originating source of a credit card transaction.
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 sales 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. See Global tax model for more information about this element. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Read a bill — response body — Bill Meta Data, Create a deposit — request body — body Cash Back, Create a bill — request body — body Currency Ref, Create a deposit — request body — body Line item Amount, Custom Extensions, Custom Field, Deposit Line Detail, Description, Detail Type, Id, Line Num, Project Ref, Void a payment — request body — body Line item, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To, Create a bill — request body — body Txn Tax Detail

Create a recurring transaction — request body — body Estimate

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AcceptedBystringOptionalName of customer who accepted the estimate.
AcceptedDatestringOptionalDate estimate was accepted.
ApplyTaxAfterDiscountJSONOptionalIf false or null, calculate the sales tax first, and then apply the discount. If true, subtract the discount first and then calculate the sales tax.
ApplyTaxAfterDiscount (anyOf 1)booleanAlternative
ApplyTaxAfterDiscount (anyOf 2)stringAlternativeOne of: true, false
ApplyTaxAfterDiscount (anyOf 3)nullAlternative
BillAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Bill-to address of the Invoice. If BillAddr is not specified, and a default Customer:BillingAddr is specified in QuickBooks for this customer, the default bill-to address is used by QuickBooks. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
BillEmailModelOptionalExpand Full update companyinfo — request body — body Email
Identifies the e-mail address where the estimate is sent. If EmailStatus=NeedToSend , BillEmail is a required input.
Conditionally required
ClassRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Class associated with the transaction. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerTxn 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.
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
CustomFieldarrayOptionalOne of, up to three custom fields for the transaction. Available for custom fields so configured for the company. Check Preferences.SalesFormsPrefs.CustomField and Preferences.VendorAndPurchasesPrefs.POCustomField for custom fields currenly configured. Click here to learn about managing custom fields.
CustomField[]ModelEach itemExpand Void an invoice — request body — body Custom Field item
CustomerMemoModelOptionalExpand Void an invoice — request body — body Customer Memo
User-entered message to the customer; this message is visible to end user on their transactions.
CustomerRefModelOptionalExpand Create a purchase order — request body — body Ship To
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.
DepartmentRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to a Department object specifying the location of the transaction. Available if Preferences.AccountingInfoPrefs.TrackDepartments is set to true . 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, this field is populated based on the setting of Preferences:CustomTxnNumber as follows: If Preferences:CustomTxnNumber is true a custom value can be provided. If no value is supplied, the resulting DocNumber is null. If Preferences:CustomTxnNumber is false, resulting DocNumber is system generated by incrementing the last number by 1. If Preferences:CustomTxnNumber is false then do not send a value as it can lead to unwanted duplicates. If a DocNumber value is sent for an Update operation, then it just updates that particular invoice and does not alter the internal system DocNumber. Note: DocNumber is an optional field for all locales except France. For France locale if Preferences:CustomTxnNumber is enabled it will not be automatically generated and is a required field.
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.
EmailStatusstringOptionalEmail status of the invoice. Valid values: NotSet , NeedToSend , EmailSent
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]+)?$
ExpirationDatestringOptionalDate by which estimate must be accepted before invalidation.
FreeFormAddressJSONOptionalDenotes how ShipAddr is stored: formatted or unformatted. The value of this flag is system defined based on format of shipping address at object create time. If set to false , shipping address is returned in a formatted style using City, Country, CountrySubDivisionCode, Postal code. If set to true , shipping address is returned in an unformatted style using Line1 through Line5 attributes.
FreeFormAddress (anyOf 1)booleanAlternative
FreeFormAddress (anyOf 2)stringAlternativeOne of: true, false
GlobalTaxCalculationstringOptionalTaxExcluded 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
HomeTotalAmtJSONOptionalTotal amount of the transaction in the home currency. Includes the total of all the charges, allowances and taxes. 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
HomeTotalAmt (anyOf 1)numberAlternative
HomeTotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
IdstringOptionalUnique identifier for this object.
Read only: true
LinearrayOptionalIndividual line items of a transaction. Valid Line types include: SalesItemLine , GroupLine , DescriptionOnlyLine (also used for inline Subtotal lines), DiscountLine and SubTotalLine (used for the overall transaction). If the transaction is taxable there is a limit of 750 lines per transaction.
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Create a change order — request body — body Line item
Line[] (anyOf 2)ModelAlternativeExpand Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num
Line[] (anyOf 3)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num
Line[] (anyOf 4)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num
Line[] (anyOf 5)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail
LinkedTxnarrayOptionalZero or more Invoice objects related to this transaction. Use LinkedTxn.TxnId as the ID in a separate Invoice read request to retrieve details of the linked object.
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.
PrintStatusstringOptionalPrinting status of the invoice. Valid values: NotSet , NeedToPrint , PrintComplete .
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.
ProjectRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Project ID associated with this transaction. When ProjectRef is passed in the US region for QuickBooks Online Advanced and Intuit Enterprise Suite SKUs, a project estimate is created if the user has projects enabled.
Conditionally required
RecurDataRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to the Recurring Transaction. It captures what recurring transaction template the Estimate was created from.
Read only: true
SalesTermRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the sales 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.
ShipAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Identifies the address where the goods must be shipped. If ShipAddr is not specified, and a default Customer:ShippingAddr is specified in QuickBooks for this customer, the default ship-to address will be used by QuickBooks. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
ShipDatestringOptionalDate for delivery of goods or services.
ShipFromAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Identifies the address where the goods are shipped from. For transactions without shipping, it represents the address where the sale took place. If automated sales tax is enabled ( Preferences.TaxPrefs.PartnerTaxEnabled is set to true ) and automated tax calculations are being used, this field is required for an accurate sales tax calculation. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
Conditionally required
ShipMethodRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the ShipMethod associated with the transaction. There is no shipping method list. Reference resolves to a string. Reference to the ShipMethod associated with the transaction. There is no shipping method list. Reference resolves to a string.
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
TaxExemptionRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the TaxExepmtion ID associated with this object. Available for companies that have automated sales tax enabled. TaxExemptionRef.Name : The Tax Exemption Id for the customer to which this object is associated. This Id is typically issued by the state. TaxExemptionRef.value : The system-generated Id of the exemption type. For internal use only.
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)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.
TxnStatusstringOptionalOne of the following status settings: Accepted, Closed, Pending, Rejected, Converted
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 sales 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. See Global tax model for more information about this element. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Full update companyinfo — request body — body Email, Read a bill — response body — Bill Meta Data, Create a vendor — request body — body Bill Addr, Create a bill — request body — body Currency Ref, Void an invoice — request body — body Custom Field item, Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num, Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num, Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num, Create a bill — request body — body Linked Txn item, Void an invoice — request body — body Customer Memo, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To, Create a change order — request body — body Line item, Void an invoice — request body — body Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail, Create a bill — request body — body Txn Tax Detail

Create a recurring transaction — request body — body Invoice

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AllowIPNPaymentJSONOptionalFlag to allow payments from legacy Intuit Payment Network (IPN). Provided to maintain backward compatibility and must always be set to false . Do not modify
AllowIPNPayment (anyOf 1)booleanAlternative
AllowIPNPayment (anyOf 2)stringAlternativeOne of: true, false
AllowOnlineACHPaymentJSONOptionalSpecifies if this invoice can be paid with online bank transfers and corresponds to the Bank transfer check box on the QuickBooks UI. Active when the company is payments-enabled, i.e., Preferences.SalesFormsPrefs.ETransactionPaymentEnabled is set to true . If set to true , allow invoice to be paid with online bank transfers. The Bank transfer check box is checked on the QuickBooks UI for this invoice. True by default if the company allows invoices to be paid with ACH. If set to false , online bank transfers are not allowed. The Bank transfer check box is not checked on the QuickBooks UI for this invoice.
AllowOnlineACHPayment (anyOf 1)booleanAlternative
AllowOnlineACHPayment (anyOf 2)stringAlternativeOne of: true, false
AllowOnlineAffirmPaymentJSONOptionalSpecifies if online Affirm payments are allowed for this invoice and corresponds to the Affirm check box on the QuickBooks UI. Active when the company is payments-enabled, i.e., Preferences.SalesFormsPrefs.ETransactionPaymentEnabled is set to true and the company has been onboarded for Affirm with an ACTIVE subscription status. If set to true , allow invoice to be paid with online Affirm payments. The Affirm check box is checked on the QuickBooks UI for this invoice. True by default if the company allows invoices to be paid with Affirm. If set to false , online Affirm payments are not allowed. The Affirm check box is not checked on the QuickBooks UI for this invoice. Defaults to the active subscription status. If a value is explicitly sent, that value is used. If no value is sent, the default value is used.
AllowOnlineAffirmPayment (anyOf 1)booleanAlternative
AllowOnlineAffirmPayment (anyOf 2)stringAlternativeOne of: true, false
AllowOnlineCreditCardPaymentJSONOptionalSpecifies if online credit card payments are allowed for this invoice and corresponds to the Credit card check box on the QuickBooks UI. Active when the company is payments-enabled, i.e., Preferences.SalesFormsPrefs.ETransactionPaymentEnabled is set to true . If set to true , allow invoice to be paid with online credit card payments. The Credit card check box is checked on the QuickBooks UI for this invoice. True by default if the company allows invoices to be paid with credit cards. If set to false , online credit card payments are not allowed. The Credit card check box is not checked on the QuickBooks UI for this invoice.
AllowOnlineCreditCardPayment (anyOf 1)booleanAlternative
AllowOnlineCreditCardPayment (anyOf 2)stringAlternativeOne of: true, false
AllowOnlinePayPalPaymentJSONOptionalSpecifies if online PayPal/Venmo payments are allowed for this invoice and corresponds to the PayPal check box on the QuickBooks UI. Active when the company is payments-enabled, i.e., Preferences.SalesFormsPrefs.ETransactionPaymentEnabled is set to true and the company has been onboarded for PayPal with an ACTIVE subscription status. If set to true , allow invoice to be paid with online PayPal payments. The PayPal check box is checked on the QuickBooks UI for this invoice. True by default if the company allows invoices to be paid with PayPal. If set to false , online PayPal payments are not allowed. The PayPal check box is not checked on the QuickBooks UI for this invoice. Defaults to the active subscription status. If a value is explicitly sent, that value is used. If no value is sent, the default value is used.
AllowOnlinePayPalPayment (anyOf 1)booleanAlternative
AllowOnlinePayPalPayment (anyOf 2)stringAlternativeOne of: true, false
AllowOnlinePaymentJSONOptionalDeprecated flag to allow online payments. In use before AllowOnlineCreditCardPayment and AllowOnlineACHPayment flags existed and provided to maintain backward compatibility. If set to true , this invoice was created before AllowOnlinePayment was deprecated and denotes both CC and ACH payments are allowed. In addition, the AllowOnlineCreditCardPayment and AllowOnlineACHPayment flags must be set to true . If set to false , this invoice was created after the AllowOnlinePayment flag was deprecated and is not used. Do not modify.
AllowOnlinePayment (anyOf 1)booleanAlternative
AllowOnlinePayment (anyOf 2)stringAlternativeOne of: true, false
ApplyTaxAfterDiscountJSONOptionalIf false or null, calculate the sales tax first, and then apply the discount. If true, subtract the discount first and then calculate the sales tax.
ApplyTaxAfterDiscount (anyOf 1)booleanAlternative
ApplyTaxAfterDiscount (anyOf 2)stringAlternativeOne of: true, false
ApplyTaxAfterDiscount (anyOf 3)nullAlternative
BalanceJSONOptionalThe balance reflecting any payments made against the transaction. Initially set to the value of TotalAmt . A Balance of 0 indicates the invoice is fully paid. Calculated by QuickBooks business logic; any value you supply is over-written by QuickBooks. If you process a linked transaction against a specific transaction, the balance value won't change. It will remain the same.
Decimal string
Read only: true
Balance (anyOf 1)numberAlternative
Balance (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
BillAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Bill-to address of the Invoice. If BillAddr is not specified, and a default Customer:BillingAddr is specified in QuickBooks for this customer, the default bill-to address is used by QuickBooks. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings. If you update the CustomerRef , the address passed using BillAddr will be honored.
BillEmailModelOptionalExpand Full update companyinfo — request body — body Email
Identifies the e-mail address where the invoice is sent. If EmailStatus=NeedToSend , BillEmail is a required input.
Conditionally required
BillEmailBccModelOptionalExpand Full update companyinfo — request body — body Email
Identifies the blind carbon copy e-mail address where the invoice is sent. If not specified, this field is populated from that defined in Preferences.SalesFormsPrefs.SalesEmailBcc . If this email address is invalid, blind carbon copy email is not sent.
BillEmailCcModelOptionalExpand Full update companyinfo — request body — body Email
Identifies the carbon copy e-mail address where the invoice is sent. If not specified, this field is populated from that defined in Preferences.SalesFormsPrefs.SalesEmailCc . If this email address is invalid, carbon copy email is not sent.
ClassRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Class associated with the transaction. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerTxn 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.
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 . Applicable if multicurrency is enabled for the company.
Conditionally required
CustomFieldarrayOptionalOne of, up to three custom fields for the transaction. Available for custom fields so configured for the company. Check Preferences.SalesFormsPrefs.CustomField and Preferences.VendorAndPurchasesPrefs.POCustomField for custom fields currenly configured. Click here to learn about managing custom fields.
CustomField[]ModelEach itemExpand Void an invoice — request body — body Custom Field item
CustomerMemoModelOptionalExpand Void an invoice — request body — body Customer Memo
User-entered message to the customer; this message is visible to end user on their transactions.
CustomerRefModelOptionalExpand Create a purchase order — request body — body Ship To
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.
DeliveryInfoModelOptionalExpand Void an invoice — request body — body Delivery Info
Email delivery information. Returned when a request has been made to deliver email with the send operation.
Read only: true
DepartmentRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to a Department object specifying the location of the transaction. Available if Preferences.AccountingInfoPrefs.TrackDepartments is set to true . 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.
DepositJSONOptionalThe deposit made towards this invoice.
Decimal string
Deposit (anyOf 1)numberAlternative
Deposit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
DepositToAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Account to which money is deposited. Query the Account name list resource to determine the appropriate Account object for this reference, where Account.AccountType is Other Current Asset or Bank . Use Account.Id and Account.Name from that object for DepositToAccountRef.value and DepositToAccountRef.name , respectively. Before you can use this field ensure that the company allows deposits in their invoices first. This can be found by querying the Preferences endpoint . SalesFormsPrefs.AllowDeposit must be equal to true. If you do not specify this account the payment is applied to the Undeposited Funds account.
DocNumberJSONOptionalReference number for the transaction. If not explicitly provided at create time, this field is populated based on the setting of Preferences:CustomTxnNumber as follows: If Preferences:CustomTxnNumber is true a custom value can be provided. If no value is supplied, the resulting DocNumber is null. If Preferences:CustomTxnNumber is false, resulting DocNumber is system generated by incrementing the last number by 1. If Preferences:CustomTxnNumber is false then do not send a value as it can lead to unwanted duplicates. If a DocNumber value is sent for an Update operation, then it just updates that particular invoice and does not alter the internal system DocNumber. Note: DocNumber is an optional field for all locales except France. For France locale if Preferences:CustomTxnNumber is enabled it will not be automatically generated and is a required field. If a duplicate DocNumber needs to be supplied, add the query parameter name/value pair, include=allowduplicatedocnum to the URI.
Conditionally required
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.
EmailStatusstringOptionalEmail status of the invoice. Valid values: NotSet , NeedToSend , EmailSent
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]+)?$
FreeFormAddressJSONOptionalDenotes how ShipAddr is stored: formatted or unformatted. The value of this flag is system defined based on format of shipping address at object create time. If set to false , shipping address is returned in a formatted style using City, Country, CountrySubDivisionCode, Postal code. If set to true , shipping address is returned in an unformatted style using Line1 through Line5 attributes.
FreeFormAddress (anyOf 1)booleanAlternative
FreeFormAddress (anyOf 2)stringAlternativeOne of: true, false
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]+)?$
HomeTotalAmtJSONOptionalTotal amount of the transaction in the home currency. Includes the total of all the charges, allowances and taxes. 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
HomeTotalAmt (anyOf 1)numberAlternative
HomeTotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
IdstringOptionalUnique identifier for this object.
Read only: true
InvoiceLinkstringOptionalSharable link for the invoice sent to external customers. The link is generated only for invoices with online payment enabled and having a valid customer email address. Include query param `include=invoiceLink` to get the link back on query response.
Read only: true
LinearrayOptionalIndividual line items of a transaction. Valid Line types include SalesItemLine , GroupLine , DescriptionOnlyLine (also used for inline Subtotal lines), DiscountLine and SubTotalLine (used for the overall transaction). If the transaction is taxable there is a limit of 750 lines per transaction.
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Create a change order — request body — body Line item
Line[] (anyOf 2)ModelAlternativeExpand Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num
Line[] (anyOf 3)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num
Line[] (anyOf 4)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num
Line[] (anyOf 5)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail
LinkedTxnarrayOptionalZero or more related transactions to this Invoice object. The following linked relationships are supported: Links to Estimate and TimeActivity objects can be established directly to this Invoice object with UI or with the API. Create, Read, Update, and Query operations are avaialble at the API level for these types of links. Only one link can be made to an Estimate . Progress Invoicing is not supported via the API. Links to expenses incurred on behalf of the customer are returned in the response with LinkedTxn.TxnType set to ReimburseCharge , ChargeCredit or StatementCharge corresponding to billable customer expenses of type Cash , Delayed Credit , and Delayed Charge , respectively. Links to these types of transactions are established within the QuickBooks UI, only, and are available as read-only at the API level. Links to payments applied to an Invoice object are returned in the response with LinkedTxn.TxnType set to Payment . Links to Payment transactions are established within the QuickBooks UI, only, and are available as read-only at the API level. Use LinkedTxn.TxnId as the ID in a separate read request for the specific resource to retrieve details of the linked object.
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.
PrintStatusstringOptionalPrinting status of the invoice. Valid values: NotSet , NeedToPrint , PrintComplete .
PrivateNotestringOptionalUser entered, organization-private note about the transaction. This note does not appear on the invoice to the customer. This field maps to the Statement Memo field on the Invoice form in the QuickBooks Online UI.
ProjectRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Project ID associated with this transaction.
Conditionally required
RecurDataRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to the Recurring Transaction. It captures what recurring transaction template the Invoice was created from.
Read only: true
SalesTermRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the sales 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.
ShipAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Identifies the address where the goods must be shipped. If ShipAddr is not specified, and a default Customer:ShippingAddr is specified in QuickBooks for this customer, the default ship-to address will be used by QuickBooks. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
ShipDatestringOptionalDate for delivery of goods or services.
ShipFromAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Identifies the address where the goods are shipped from. For transactions without shipping, it represents the address where the sale took place. If automated sales tax is enabled ( Preferences.TaxPrefs.PartnerTaxEnabled is set to true ) and automated tax calculations are being used, this field is required for an accurate sales tax calculation. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
Conditionally required
ShipMethodRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the ShipMethod associated with the transaction. There is no shipping method list. Reference resolves to a string. Reference to the ShipMethod associated with the transaction. There is no shipping method list. Reference resolves to a string.
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
TaxExemptionRefJSONOptional
TaxExemptionRef (anyOf 1)ModelAlternativeExpand Create a purchase order — request body — body Ship To
Reference to the TaxExepmtion ID associated with this object. Available for companies that have automated sales tax enabled. TaxExemptionRef.Name : The Tax Exemption Id for the customer to which this object is associated. This Id is typically issued by the state. TaxExemptionRef.value : The system-generated Id of the exemption type. For internal use only
Read only: true
TaxExemptionRef (anyOf 2)objectAlternativeMaximum fields: 0
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]+)?$
TrackingNumstringOptionalShipping provider's tracking number for the delivery of the goods associated with the transaction.
TransactionLocationTypestringOptionalThe account location. For UAE, valid values include ABUDHABI AJMAN SHARJAH DUBAI FUJAIRAH RAS_AL_KHAIMAH UMM_AL_QUWAIN OTHER_GCC
TxnDatestringOptionalThe date entered by the user when this transaction occurred. yyyy/MM/dd is the valid date format. 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.
TxnSourcestringOptionalUsed internally to specify originating source of a credit card transaction.
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 sales 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. See Global tax model for more information about this element. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Void an invoice — request body — body Delivery Info, Full update companyinfo — request body — body Email, Read a bill — response body — Bill Meta Data, Create a vendor — request body — body Bill Addr, Create a bill — request body — body Currency Ref, Void an invoice — request body — body Custom Field item, Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num, Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num, Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num, Create a bill — request body — body Linked Txn item, Void an invoice — request body — body Customer Memo, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To, Create a change order — request body — body Line item, Void an invoice — request body — body Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail, Create a bill — request body — body Txn Tax Detail

Create a recurring transaction — request body — body Journal Entry

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AdjustmentJSONOptionalIndicates whether this transaction is a journal entry adjustment.
Adjustment (anyOf 1)booleanAlternative
Adjustment (anyOf 2)stringAlternativeOne of: true, false
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
DocNumberJSONOptionalReference number for the transaction. Throws an error when duplicate DocNumber is sent in the request and if Preferences:OtherPrefs:NameValue.Name = WarnDuplicateJournalNumber is true. Recommended best practice: check the setting of Preferences:OtherPrefs:NameValue.Name = WarnDuplicateJournalNumber 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. If null value is sent in the request null will be saved. If there is a need to support assigning a docNumber when null, it can be achieved through include param, include=allowautodocnum
DocNumber (anyOf 1)stringAlternative
DocNumber (anyOf 2)nullAlternative
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 . Not applicable to US companies; required for non-US companies.
Conditionally required
HomeTotalAmtJSONOptionalThe value of this field will always be set to zero. Applicable if multicurrency is enabled for the company.
Decimal string
Read only: true
HomeTotalAmt (anyOf 1)numberAlternative
HomeTotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
IdstringOptionalUnique identifier for this object.
Read only: true
LinearrayOptionalIndividual line items of a transaction. There must be at least one pair of Journal Entry Line elements, representing a debit and a credit, called distribution lines. Valid Line types include: JournalEntryLine and DescriptionOnlyLine
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Create a journalentry — request body — body Line item
Line[] (anyOf 2)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num
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.
RecurDataRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to the Recurring Transaction. It captures what recurring transaction template the JournalEntry was created from.
Read only: true
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
TaxRateRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Tax Adjustment Rate Ids for this item. Query the TaxRate list resource to determine the appropriate TaxRate object for this reference. Use TaxRate.Id and TaxRate.Name from that object for TaxRateRef.value and TaxRateRef.name, respectively.
TotalAmtJSONOptionalThe value of this field will always be set to zero. 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 sales 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. See Global tax model for more information about this element. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Read a bill — response body — Bill Meta Data, Create a bill — request body — body Currency Ref, Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num, Create a journalentry — request body — body Line item, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To, Create a bill — request body — body Txn Tax Detail

Create a recurring transaction — request body — body Purchase

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Specifies the account reference to which this purchase is applied based on the PaymentType . A type of Check should have bank account, CreditCard should specify credit card account, etc. 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 AccountRef.value and AccountRef.name , respectively.
CreditJSONOptionalFalse —it represents a charge. True —it represents a refund. Valid only for CreditCard payment type. Validation Rules: Valid only for CreditCard transactions.
Credit (anyOf 1)booleanAlternative
Credit (anyOf 2)stringAlternativeOne of: true, false
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. Available if Preferences.AccountingInfoPrefs.TrackDepartments is set to true . 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, this field is populated based on the setting of Preferences:OtherPrefs:NameValue.Name = VendorAndPurchasesPrefs.UseCustomTxnNumbers as follows: If Preferences:OtherPrefs:NameValue.Name = VendorAndPurchasesPrefs.UseCustomTxnNumbers is true a custom value can be provided; duplicate values are not accepted. If no value is supplied, the resulting DocNumber is null. If Preferences:OtherPrefs:NameValue.Name = VendorAndPurchasesPrefs.UseCustomTxnNumbers is false, resulting DocNumber is system generated by incrementing the last number by 1. For Cash/CreditCard transactions, throws an error when duplicate DocNumber is sent in the request. For Check transactions, error is thrown when duplicate DocNumber is sent in the request and Preferences:OtherPrefs:NameValue.Name = WarnDuplicateCheckNumber is true. Recommended best practice: check the setting of Preferences:OtherPrefs:NameValue.Name = VendorAndPurchasesPrefs.UseCustomTxnNumbers 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
EntityRefModelOptionalExpand Create a purchase order — request body — body Ship To
Specifies the party with whom an expense is associated. Can be Customer , Vendor, or Employee. Query the corresponding name list resource of the associated type to determine the appropriate object for this reference. Use the Id and DisplayName values from that object for EntityRef.value and EntityRef.name , respectively. Set EntityRef.type to the type of object associated with this expense. For example, if this object represents a purchase from a vendor, then set EntityRef.type to Vendor and query the Vendor resource for the appropriate object to reference.
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 .
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)stringAlternativeOne of: true, false
LinearrayOptionalIndividual line items of a transaction. Valid Line types include ItemBasedExpenseLine (Available if Preferences.ProductAndServicesPrefs.ForPurchase is set to true ) and AccountBasedExpenseLine
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Create a purchase order — request body — body Line item
Line[] (anyOf 2)ModelAlternativeExpand Create a bill — request body — body Line item
LinkedTxnarrayOptionalZero or more transactions linked to this object. The LinkedTxn.TxnType can be set to ReimburseCharge . The LinkedTxn.TxnId can be set 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.
PaymentMethodRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to a PaymentMethod associated with this transaction. Query the PaymentMethod name list resource to determine the appropriate PaymentMethod object for this reference. Use PaymentMethod.Id and PaymentMethod.Name from that object for PaymentMethodRef.value and PaymentMethodRef.name , respectively.
PaymentTypestringOptionalType can be Cash , Check , or CreditCard .
PrintStatusstringOptionalPrintStatus is applicable only for Check . Ignored for CreditCard charge or refund. Valid values: NotSet , NeedToPrint , PrintComplete.
PrivateNotestringOptionalUser-entered, organization-private note about the transaction. This field maps to the Memo field on the Expense form in the QuickBooks UI.
PurchaseExobjectOptionalFor internal use.
Additional keys: allowed
RecurDataRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to the Recurring Transaction. It captures what recurring transaction template the Purchase was created from.
Read only: true
RemitToAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Address to which the payment should be sent. This attribute is applicable only for Check . Ignored for CreditCard charge or refund. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
Read only: true
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)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.
TxnSourcestringOptionalUsed internally to specify originating source of a credit card transaction.
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 sales 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. See Global tax model for more information about this element. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
CustomFieldarrayOptionalOne of, up to three custom fields for the transaction. Available for custom fields so configured for the company. Check Preferences.SalesFormsPrefs.CustomField and Preferences.VendorAndPurchasesPrefs.POCustomField for custom fields currenly configured. Click here to learn about managing custom fields.
CustomField[]ModelEach itemExpand Void an invoice — request body — body Custom Field item
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Read a bill — response body — Bill Meta Data, Create a vendor — request body — body Bill Addr, Create a bill — request body — body Line item, Create a bill — request body — body Currency Ref, Void an invoice — request body — body Custom Field item, Create a purchase order — request body — body Line item, Create a bill — request body — body Linked Txn item, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To, Create a bill — request body — body Txn Tax Detail

Create a recurring transaction — request body — body Refund Receipt

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
ApplyTaxAfterDiscountJSONOptionalIf false or null, calculate the sales tax first, and then apply the discount. If true, subtract the discount first and then calculate the sales tax. Default Value: false Constraints: US versions of QuickBooks only.
ApplyTaxAfterDiscount (anyOf 1)booleanAlternative
ApplyTaxAfterDiscount (anyOf 2)stringAlternativeOne of: true, false
ApplyTaxAfterDiscount (anyOf 3)nullAlternative
BalanceJSONOptionalThe balance reflecting any payments made against the transaction. Initially set to the value of TotalAmt . 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]+)?$
BillAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Bill-to address of the Invoice. If BillAddr is not specified, and a default Customer:BillingAddr is specified in QuickBooks for this customer, the default bill-to address is used by QuickBooks. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
BillEmailModelOptionalExpand Full update companyinfo — request body — body Email
Identifies the e-mail address where the invoice is sent. If EmailStatus=NeedToSend , BillEmail is a required input.
Conditionally required
CheckPaymentModelOptionalExpand Create a refund receipt — request body — body Check Payment
Information about a check payment for the transaction. Used when PaymentType is Check .
ClassRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Class associated with the transaction. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerTxn 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.
CreditCardPaymentModelOptionalExpand Void a payment — request body — body Credit Card Payment
Information about a credit card payment for the transaction. Used when PaymentType is CreditCard . Inject with data only if the payment was transacted through Intuit Payments API.
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
CustomFieldarrayOptionalOne of, up to three custom fields for the transaction. Available for custom fields so configured for the company. Check Preferences.SalesFormsPrefs.CustomField and Preferences.VendorAndPurchasesPrefs.POCustomField for custom fields currenly configured. Click here to learn about managing custom fields.
CustomField[]ModelEach itemExpand Void an invoice — request body — body Custom Field item
CustomerMemoModelOptionalExpand Void an invoice — request body — body Customer Memo
User-entered message to the customer; this message is visible to end user on their transaction.
CustomerRefModelOptionalExpand Create a purchase order — request body — body Ship To
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.
DepartmentRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to a Department object specifying the location of the transaction. Available if Preferences.AccountingInfoPrefs.TrackDepartments is set to true . 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.
DepositToAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Account from which payment money is refunded. Query the Account name list resource to determine the appropriate Account object for this reference, where Account.AccountType is Other Current Asset or Bank . Use Account.Id and Account.Name from that object for DepositToAccountRef.value and DepositToAccountRef.name , respectively.
DocNumberJSONOptionalReference number for the transaction. If not explicitly provided at create time, this field is populated based on the setting of Preferences:CustomTxnNumber as follows: If Preferences:CustomTxnNumber is true a custom value can be provided. If no value is supplied, the resulting DocNumber is null. If Preferences:CustomTxnNumber is false, resulting DocNumber is system generated by incrementing the last number by 1. Recommended best practice: check the setting of Preferences:CustomTxnNumber before setting DocNumber. If a duplicate DocNumber needs to be supplied, add the query parameter name/value pair, include=allowduplicatedocnum to the URI. Note: DocNumber is an optional field for all locales except France. For France locale if Preferences:CustomTxnNumber is enabled it will not be automatically generated and is a required field. Sort order is ASC by default.
DocNumber (anyOf 1)stringAlternative
DocNumber (anyOf 2)nullAlternative
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. 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]+)?$
HomeTotalAmtJSONOptionalTotal amount of the transaction in the home currency. Includes the total of all the charges, allowances and taxes. 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
HomeTotalAmt (anyOf 1)numberAlternative
HomeTotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
IdstringOptionalUnique identifier for this object.
Read only: true
LinearrayOptionalIndividual line items of a transaction. Valid Line types include: SalesItemLine , GroupLine , DescriptionOnlyLine , DiscountLine and SubTotalLine (read-only)
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Create a change order — request body — body Line item
Line[] (anyOf 2)ModelAlternativeExpand Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num
Line[] (anyOf 3)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num
Line[] (anyOf 4)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num
Line[] (anyOf 5)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the entity. The MetaData values are set by Data Services and are read only for all applications.
PaymentMethodRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to a PaymentMethod associated with this transaction. Query the PaymentMethod name list resource to determine the appropriate PaymentMethod object for this reference. Use PaymentMethod.Id and PaymentMethod.Name from that object for PaymentMethodRef.value and PaymentMethodRef.name , respectively.
PaymentRefNumstringOptionalThe reference number for the payment received. For example, check # for a check, envelope # for a cash donation. Provide when DepositToAccountRef references an Account object where Account.AccountType=Bank . Required when PrintStatus is set to PrintComplete . If PrintStatus is set to NeedToPrint , the system sets PaymentRefNum to To Print .
Conditionally required
PaymentTypestringOptionalValid values are Cash , Check , CreditCard , or Other .
PrintStatusstringOptionalPrinting status of the invoice. Valid values: NotSet , NeedToPrint , PrintComplete .
PrivateNotestringOptionalUser entered, organization-private note about the transaction. This note does not appear on the refund receipt to the customer. This field maps to the Memo field on the refund receipt form.
ProjectRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Project ID associated with this transaction.
Conditionally required
RecurDataRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to the Recurring Transaction. It captures what recurring transaction template the RefundReceipt was created from.
Read only: true
ShipAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Identifies the address where the goods must be shipped. If ShipAddr is not specified, and a default Customer:ShippingAddr is specified in QuickBooks for this customer, the default ship-to address will be used by QuickBooks. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
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
TaxExemptionRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the TaxExepmtion ID associated with this object. Available for companies that have automated sales tax enabled. TaxExemptionRef.Name : The Tax Exemption Id for the customer to which this object is associated. This Id is typically issued by the state. TaxExemptionRef.value : The system-generated Id of the exemption type. For internal use only.
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)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.
TxnSourcestringOptionalThe originating source of the credit card transaction. Used in eCommerce apps where credit card transactions are processed by a merchant account. When set to IntuitPayment , this transaction is inserted into a list of pending deposits to be automatically matched and reconciled with the merchant's account when the transactions made via QuickBooks Payments settle. Currently, the only supported value is IntuitPayment .
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 sales 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. See Global tax model for more information about this element. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Create a refund receipt — request body — body Check Payment, Full update companyinfo — request body — body Email, Read a bill — response body — Bill Meta Data, Create a vendor — request body — body Bill Addr, Void a payment — request body — body Credit Card Payment, Create a bill — request body — body Currency Ref, Void an invoice — request body — body Custom Field item, Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num, Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num, Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num, Void an invoice — request body — body Customer Memo, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To, Create a change order — request body — body Line item, Void an invoice — request body — body Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail, Create a bill — request body — body Txn Tax Detail

Create a recurring transaction — request body — body Sales Receipt

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
ApplyTaxAfterDiscountJSONOptionalIf false or null, calculate the sales tax first, and then apply the discount. If true, subtract the discount first and then calculate the sales tax. Default Value: false Constraints: US versions of QuickBooks only.
ApplyTaxAfterDiscount (anyOf 1)booleanAlternative
ApplyTaxAfterDiscount (anyOf 2)stringAlternativeOne of: true, false
ApplyTaxAfterDiscount (anyOf 3)nullAlternative
BalanceJSONOptionalThe balance reflecting any payments made against the transaction. Initially set to the value of TotalAmt . A Balance of 0 indicates the invoice 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]+)?$
BillAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Bill-to address of the Invoice. If BillAddr is not specified, and a default Customer:BillingAddr is specified in QuickBooks for this customer, the default bill-to address is used by QuickBooks. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
BillEmailModelOptionalExpand Full update companyinfo — request body — body Email
Identifies the e-mail address where the invoice is sent. Required if EmailStatus=NeedToSend
Conditionally required
ClassRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Class associated with the transaction. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerTxn 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.
CreditCardPaymentModelOptionalExpand Void a payment — request body — body Credit Card Payment
Information about a credit card payment for the transaction. Used when PaymentType is CreditCard . Inject with data only if the payment was transacted through Intuit Payments API.
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
CustomFieldarrayOptionalOne of, up to three custom fields for the transaction. Available for custom fields so configured for the company. Check Preferences.SalesFormsPrefs.CustomField and Preferences.VendorAndPurchasesPrefs.POCustomField for custom fields currenly configured. Click here to learn about managing custom fields.
CustomField[]ModelEach itemExpand Void an invoice — request body — body Custom Field item
CustomerMemoModelOptionalExpand Void an invoice — request body — body Customer Memo
User-entered message to the customer; this message is visible to end user on their transactions.
CustomerRefModelOptionalExpand Create a purchase order — request body — body Ship To
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.
DeliveryInfoModelOptionalExpand Void an invoice — request body — body Delivery Info
Email delivery information. Returned when a request has been made to deliver email with the send operation.
Read only: true
DepartmentRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to a Department object specifying the location of the transaction. Available if Preferences.AccountingInfoPrefs.TrackDepartments is set to true . 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.
DepositToAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Account to which payment money is deposited. Query the Account name list resource to determine the appropriate Account object for this reference, where Account.AccountType is Other Current Asset or Bank . Use Account.Id and Account.Name from that object for DepositToAccountRef.value and DepositToAccountRef.name , respectively. If you do not specify this account, payment is applied to the Undeposited Funds account.
DocNumberJSONOptionalReference number for the transaction. If not explicitly provided at create time, this field is populated based on the setting of Preferences:CustomTxnNumber as follows: If Preferences:CustomTxnNumber is true a custom value can be provided. If no value is supplied, the resulting DocNumber is null. If Preferences:CustomTxnNumber is false, resulting DocNumber is system generated by incrementing the last number by 1. If Preferences:CustomTxnNumber is false then do not send a value as it can lead to unwanted duplicates. If a DocNumber value is sent for an Update operation, then it just updates that particular invoice and does not alter the internal system DocNumber. Note: DocNumber is an optional field for all locales except France. For France locale if Preferences:CustomTxnNumber is enabled it will not be automatically generated and is a required field.
DocNumber (anyOf 1)stringAlternative
DocNumber (anyOf 2)nullAlternative
EmailStatusstringOptionalEmail status of the receipt. Valid values: NotSet , NeedToSend , EmailSent .
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]+)?$
FreeFormAddressJSONOptionalDenotes how ShipAddr is stored: formatted or unformatted. The value of this flag is system defined based on format of shipping address at object create time. If set to false , shipping address is returned in a formatted style using City, Country, CountrySubDivisionCode, Postal code. If set to true , shipping address is returned in an unformatted style using Line1 through Line5 attributes.
FreeFormAddress (anyOf 1)booleanAlternative
FreeFormAddress (anyOf 2)stringAlternativeOne of: true, false
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]+)?$
HomeTotalAmtJSONOptionalTotal amount of the transaction in the home currency. Includes the total of all the charges, allowances and taxes. 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
HomeTotalAmt (anyOf 1)numberAlternative
HomeTotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
IdstringOptionalUnique identifier for this object.
Read only: true
LinearrayOptionalIndividual line items of a transaction. Valid Line types include: SalesItemLine , GroupLine , DescriptionOnlyLine , DiscountLine and SubTotalLine (read-only). If the transaction is taxable there is a limit of 750 lines per transaction.
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Create a change order — request body — body Line item
Line[] (anyOf 2)ModelAlternativeExpand Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num
Line[] (anyOf 3)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num
Line[] (anyOf 4)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num
Line[] (anyOf 5)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail
LinkedTxnarrayOptionalZero or more related transactions to this sales receipt object. The following linked relationships are supported: Links to Estimate and TimeActivity objects can be established directly to this sales receipt object with UI or with the API. Create, Read, Update, and Query operations are avaialble at the API level for these types of links. Only one link can be made to an Estimate . Links to expenses incurred on behalf of the customer are returned in the response with LinkedTxn.TxnType set to ReimburseCharge , ChargeCredit or StatementCharge corresponding to billable customer expenses of type Cash , Delayed Credit , and Delayed Charge , respectively. Links to these types of transactions are established within the QuickBooks UI, only, and are available as read-only at the API level. Links to payments applied to an sales receipt object are returned in the response with LinkedTxn.TxnType set to Payment . Links to Payment transactions are established within the QuickBooks UI, only, and are available as read-only at the API level. Links the sales receipt to refundReceipt objects that are applied to the sales receipt. Returned in the response if linkedTxnTxnType is a refundReceipt. Note that linking sales receipts to refund receipts can only be done via the customer-facing QuickBooks UI. This is only available as read-only via our API Use LinkedTxn.TxnId as the ID in a separate read request for the specific resource to retrieve details of the linked object.
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.
PaymentMethodRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to a PaymentMethod associated with this transaction. Query the PaymentMethod name list resource to determine the appropriate PaymentMethod object for this reference. Use PaymentMethod.Id and PaymentMethod.Name from that object for PaymentMethodRef.value and PaymentMethodRef.name , respectively.
PaymentRefNumstringOptionalThe reference number for the payment received. For example, Â Check # for a check, envelope # for a cash donation.
PrintStatusstringOptionalPrinting status of the invoice. Valid values: NotSet , NeedToPrint , PrintComplete .
PrivateNotestringOptionalUser entered, organization-private note about the transaction. This note does not appear on the transaction form to the customer. This field maps to the Memo field on the Sales Receipt form.
ProjectRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Project ID associated with this transaction.
Conditionally required
RecurDataRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to the Recurring Transaction. It captures what recurring transaction template the SalesReceipt was created from.
Read only: true
ShipAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Identifies the address where the goods must be shipped. If ShipAddr is not specified, and a default Customer:ShippingAddr is specified in QuickBooks for this customer, the default ship-to address will be used by QuickBooks. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
ShipDatestringOptionalLocation of the transaction, as defined using location tracking in QuickBooks Online.
ShipFromAddrModelOptionalExpand Create a vendor — request body — body Bill Addr
Identifies the address where the goods are shipped from. For transactions without shipping, it represents the address where the sale took place. If automated sales tax is enabled ( Preferences.TaxPrefs.PartnerTaxEnabled is set to true ) and automated tax calculations are being used, this field is required for an accurate sales tax calculation. For international addresses - countries should be passed as 3 ISO alpha-3 characters or the full name of the country. If a physical address is updated from within the transaction object, the QuickBooks Online API flows individual address components differently into the Line elements of the transaction response then when the transaction was first created: Line1 and Line2 elements are populated with the customer name and company name. Original Line1 through Line 5 contents, City , SubDivisionCode , and PostalCode flow into Line3 through Line5 as a free format strings.
Conditionally required
ShipMethodRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the ShipMethod associated with the transaction. There is no shipping method list. Reference resolves to a string.
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. If you process a linked refund transaction against a specific transaction, the totalAmt value won't change. It will remain the same. However, voiding the linked refund will change the totalAmt value to O.
Decimal string
Read only: true
TotalAmt (anyOf 1)numberAlternative
TotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
TrackingNumstringOptionalShipping provider's tracking number for the delivery of the goods associated with the transaction.
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.
TxnSourcestringOptionalUsed internally to specify originating source of a credit card transaction.
TxnTaxDetailModelOptionalExpand Create a bill — request body — body Txn Tax Detail
This element provides information for taxes charged on the transaction as a whole. It captures the details sales 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. See Global tax model for more information about this element. If sales tax is disabled ( Preferences.TaxPrefs.UsingSalesTax is set to false ) then TxnTaxDetail is ignored and not stored.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Void an invoice — request body — body Delivery Info, Full update companyinfo — request body — body Email, Read a bill — response body — Bill Meta Data, Create a vendor — request body — body Bill Addr, Void a payment — request body — body Credit Card Payment, Create a bill — request body — body Currency Ref, Void an invoice — request body — body Custom Field item, Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num, Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num, Void an invoice — request body — body Line item Custom Extensions, Description, Detail Type, Group Line Detail, Id, Line Num, Create a bill — request body — body Linked Txn item, Void an invoice — request body — body Customer Memo, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To, Create a change order — request body — body Line item, Void an invoice — request body — body Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail, Create a bill — request body — body Txn Tax Detail

Create a recurring transaction — request body — body Transfer

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AmountJSONOptionalIndicates the total amount of the transaction.
Decimal string
Amount (anyOf 1)numberAlternative
Amount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
FromAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Identifies the asset account from which funds are transfered. 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 FromAccountRef.value and FromAccountRef.name , respectively. The specified account must have Account.Classification set to Asset .
IdstringOptionalUnique identifier for this object.
Read only: true
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 Transfer was created from.
Read only: true
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
ToAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Identifies the asset account to which funds are transfered. 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 ToAccountRef.value and ToAccountRef.name , respectively. The specified account must have Account.Classification set to Asset .
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.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Read a bill — response body — Bill Meta Data, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To

Create a recurring transaction — request body — body Vendor Credit

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: 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 current amount of the vendor credit reflecting any adjustments to the original credit amount. Initially set to the value of TotalAmt . 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. Available if Preferences.AccountingInfoPrefs.TrackDepartments is set to true . 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, this field is populated based on the setting of Preferences:OtherPrefs:NameValue.Name = VendorAndPurchasesPrefs.UseCustomTxnNumbers as follows: If Preferences:OtherPrefs:NameValue.Name = VendorAndPurchasesPrefs.UseCustomTxnNumbers is true a custom value can be provided. If no value is supplied, the resulting DocNumber is null. If Preferences:OtherPrefs:NameValue.Name = VendorAndPurchasesPrefs.UseCustomTxnNumbers is false, resulting DocNumber is system generated by incrementing the last number by 1. Throws an error when duplicate DocNumber is sent in the request. Recommended best practice: check the setting of Preferences:OtherPrefs:NameValue.Name = VendorAndPurchasesPrefs.UseCustomTxnNumbers 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
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
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)stringAlternativeOne of: true, false
LinearrayOptionalIndividual line items of a transaction. Valid Line types include: ItemBasedExpenseLine and AccountBasedExpenseLine
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Create a purchase order — request body — body Line item
Line[] (anyOf 2)ModelAlternativeExpand Create a bill — request body — body Line item
LinkedTxnarrayOptionalZero or more transactions linked to this object. The LinkedTxn.TxnType can be set to ReimburseCharge . The LinkedTxn.TxnId can be set 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 transaction to the vendor. This field maps to the Memo field on the transaction form.
RecurDataRefModelOptionalExpand Create a purchase order — request body — body Ship To
A reference to the Recurring Transaction. It captures what recurring transaction template the VendorCredit was created from.
Read only: true
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 credit amount, determined by taking the total of all all lines of the transaction. This includes all charges, allowances, discounts, 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.
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.
RecurringInfoModelRequired within parentExpand Create a recurring transaction — request body — body Bill Recurring Info

Referenced models: Read a bill — response body — Bill Meta Data, Create a bill — request body — body Line item, Create a bill — request body — body Currency Ref, Create a purchase order — request body — body Line item, Create a bill — request body — body Linked Txn item, Create a recurring transaction — request body — body Bill Recurring Info, Create a purchase order — request body — body Ship To

Create a recurring transaction — response body — Recurring Transaction

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
BillModelOptionalExpand Read a bill — response body — Bill
DepositModelOptionalExpand Read a deposit — response body — Deposit
EstimateModelOptionalExpand Read an estimate — response body — Estimate
InvoiceModelOptionalExpand Read an invoice — response body — Invoice
JournalEntryModelOptionalExpand Read a journalentry — response body — Journal Entry
PurchaseModelOptionalExpand Read a purchase — response body — Purchase
RefundReceiptModelOptionalExpand Read a refund receipt — response body — Refund Receipt
SalesReceiptModelOptionalExpand Read a salesreceipt — response body — Sales Receipt
TransferModelOptionalExpand Read an transfer — response body — Transfer
VendorCreditModelOptionalExpand Read a vendorcredit — response body — Vendor Credit

Referenced models: Read a bill — response body — Bill, Read a deposit — response body — Deposit, Read an estimate — response body — Estimate, Read an invoice — response body — Invoice, Read a journalentry — response body — Journal Entry, Read a purchase — response body — Purchase, Read a refund receipt — response body — Refund Receipt, Read a salesreceipt — response body — Sales Receipt, Read an transfer — response body — Transfer, Read a vendorcredit — response body — Vendor Credit

Delete a recurring transaction — request body — body

FieldTypePresenceDescription and constraints
$objectRootMinimum fields: 1
Maximum fields: 1
Additional keys: not allowed
BillobjectOptionalAdditional keys: not allowed
Bill.IdstringRequired within parent
Bill.SyncTokenstringRequired within parent
DepositobjectOptionalAdditional keys: not allowed
Deposit.IdstringRequired within parent
Deposit.SyncTokenstringRequired within parent
EstimateobjectOptionalAdditional keys: not allowed
Estimate.IdstringRequired within parent
Estimate.SyncTokenstringRequired within parent
InvoiceobjectOptionalAdditional keys: not allowed
Invoice.IdstringRequired within parent
Invoice.SyncTokenstringRequired within parent
JournalEntryobjectOptionalAdditional keys: not allowed
JournalEntry.IdstringRequired within parent
JournalEntry.SyncTokenstringRequired within parent
PurchaseobjectOptionalAdditional keys: not allowed
Purchase.IdstringRequired within parent
Purchase.SyncTokenstringRequired within parent
RefundReceiptobjectOptionalAdditional keys: not allowed
RefundReceipt.IdstringRequired within parent
RefundReceipt.SyncTokenstringRequired within parent
SalesReceiptobjectOptionalAdditional keys: not allowed
SalesReceipt.IdstringRequired within parent
SalesReceipt.SyncTokenstringRequired within parent
TransferobjectOptionalAdditional keys: not allowed
Transfer.IdstringRequired within parent
Transfer.SyncTokenstringRequired within parent
VendorCreditobjectOptionalAdditional keys: not allowed
VendorCredit.IdstringRequired within parent
VendorCredit.SyncTokenstringRequired within parent

Read a recurring transaction — response body — Query Response

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
RecurringTransactionarrayOptional
RecurringTransaction[]ModelEach itemExpand Create a recurring transaction — response body — Recurring Transaction
startPositionJSONOptional
startPosition (anyOf 1)integerAlternative
startPosition (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
maxResultsJSONOptional
maxResults (anyOf 1)integerAlternative
maxResults (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
totalCountJSONOptional
totalCount (anyOf 1)integerAlternative
totalCount (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Referenced models: Create a recurring transaction — response body — Recurring Transaction

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.