Skip to content

QuickBooks: Changeorder schemas

5 QuickBooks schemas with complete fields and constraints.

← Changeorder operations · All schemas

Create a change order — request body — body Line item

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

Referenced models: Create an item — request body — body Custom Extensions item, Create a change order — request body — body Line item Sales Item Line Detail

Create a change order — request body — body Line item Sales Item Line Detail

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
ClassRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the Class for the line item. Available if Preferences.AccountingInfoPrefs.ClassTrackingPerLine is set to true . Query the Class name list resource to determine the appropriate Class object for this reference. Use Class.Id and Class.Name from that object for ClassRef.value and ClassRef.name , respectively.
ItemAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
Available with invoice objects, only, and when there is a linkedtxn of type ReimburseCharge for this object. When ItemRef.Id is set to 1, ItemAccountRef maps to the reimbursable charge account.
ItemRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to an Item object. Query the Item name list resource to determine the appropriate Item object for this reference. Use Item.Id and Item.Name from that object for ItemRef.value and ItemRef.name , respectively. Set ItemRef.value to SHIPPING_ITEM_ID when Line.amount represents transaction-wide shipping charges. Valid when Preferences.SalesFormsPrefs.AllowShipping is set to true . Set ItemRef.value to GRATUITY_ITEM_ID when Line.amount represents transaction-wide gratuity amount. Valid when Preferences.OtherPrefs.Name.SalesFormsPrefs.AllowGratuity is set to true . When a line lacks an ItemRef it is treated as documentation and the Line.Amount attribute is ignored. Applicable to invoice objects, only, and when linktxn specifies a ReimburseCharge . When Item.Id is set to 1, ItemAccountRef refers to reimburse expense account Id.
MarkupInfoModelOptionalExpand Create a change order — request body — body Line item Sales Item Line Detail Markup Info
Used to define markup when this line represents a billable expense on the invoice. Markup information for the billable expense line.
QtyJSONOptionalNumber of items for the line.
Decimal string
Qty (anyOf 1)numberAlternative
Qty (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
ServiceDatestringOptionalDate when the service is performed.
TaxClassificationRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the TaxClassification for this item. Available for companies that have automated sales tax enabled. TaxClassificationRef.Name : Currently not populated. TaxClassificationRef.value : The system-defined Tax Classification code that is applied to this line item. For internal use only.
Read only: true
TaxCodeRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the TaxCode for this item. Query the TaxCode name list resource to determine the appropriate TaxCode object for this reference. Use TaxCode.Id and TaxCode.Name from that object for TaxCodeRef.value and TaxCodeRef.name , respectively.
TaxInclusiveAmtJSONOptionalThe total amount of the line item including tax.
Decimal string
TaxInclusiveAmt (anyOf 1)numberAlternative
TaxInclusiveAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
UnitPriceJSONOptionalUnit price of the subject item as referenced by ItemRef . Corresponds to the Rate column on the QuickBooks Online UI to specify either unit price, a discount, or a tax rate for item. If used for unit price, the monetary value of the service or product, as expressed in the home currency. You can override the unit price of the subject item by supplying a new value with create or update operations. If used for a discount or tax rate, express the percentage as a fraction. For example, specify 0.4 for 40% tax.
Decimal string
UnitPrice (anyOf 1)numberAlternative
UnitPrice (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$

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

Create a change order — request body — body Line item Sales Item Line Detail Markup Info

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
MarkUpIncomeAccountRefModelOptionalExpand Create a purchase order — request body — body Ship To
The account associated with the markup. Available with invoice objects, only, and when linktxn specified a ReimburseCharge .
Read only: true
PercentJSONOptionalMarkup amount expressed as a percent of charges already entered in the current transaction. To enter a rate of 10% use 10.0, not 0.01.
Decimal string
Percent (anyOf 1)numberAlternative
Percent (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
PriceLevelRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to a PriceLevel for the markup. Support for this element will be available in the coming months.

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

Delete a change order — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
AcceptedBystringOptionalName of the customer or representative who accepted the change order. Populated when TxnStatus is set to Accepted .
AcceptedDatestringOptionalDate the change order was accepted. Populated when TxnStatus is set to Accepted .
ApplyTaxAfterDiscountJSONOptionalIf false or null, sales tax is calculated first and then any discount is applied. If true , the discount is subtracted first and then sales tax is calculated.
ApplyTaxAfterDiscount (anyOf 1)booleanAlternative
ApplyTaxAfterDiscount (anyOf 2)stringAlternativeOne of: true, false
ApplyTaxAfterDiscount (anyOf 3)nullAlternative
BillEmailModelOptionalExpand Full update companyinfo — request body — body Email
Email address where the change order is sent. Required when EmailStatus is set to NeedToSend .
Conditionally required
CustomerMemoModelOptionalExpand Void an invoice — request body — body Customer Memo
User-entered message to the customer; visible on the Change Order document sent to the customer.
CustomerRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the customer associated with this change order. Must match the customer on the parent project estimate. Use Customer.Id and Customer.DisplayName from the Customer object for CustomerRef.value and CustomerRef.name , respectively.
DocNumberJSONOptionalReference number for the change order (for example, CO-001 ). If not provided, the value is null.
DocNumber (anyOf 1)stringAlternative
DocNumber (anyOf 2)nullAlternative
EmailStatusstringOptionalEmail status of the change order. Valid values: NotSet , NeedToSend , EmailSent .
ExpirationDatestringOptionalDate by which the change order must be accepted before it expires.
IdstringRequired within parent
LinearrayOptionalIndividual line items describing the work being added or removed. Supports SalesItemLineDetail and SubTotalLineDetail line types. Every line must include a LinkedTxn array referencing the parent project estimate with TxnType: "Estimate" . All lines must reference the same parent estimate. The Line array uses full-replace behavior on update — lines omitted from an update request are deleted.
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 Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail
Line[] (anyOf 3)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num
Line[] (anyOf 4)ModelAlternativeExpand Void an invoice — request body — body Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num
LinkedTxnarrayOptionalOne or more linked transaction references at the header level, reflecting the parent project estimate. Also appears on each line item. Use LinkedTxn.TxnId as the ID in a separate Estimate read request to retrieve details of the linked object. TxnType must always be Estimate .
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 change order. Valid values: NotSet , NeedToPrint , PrintComplete .
PrivateNotestringOptionalOrganization-private note about the change order. This note does not appear on documents sent to the customer.
ProjectRefModelOptionalExpand Create a purchase order — request body — body Ship To
Reference to the project this change order belongs to. Must reference an active project. Without a valid ProjectRef , the change order will not appear in the Projects dashboard.
SyncTokenstringRequired within parent
TotalAmtJSONOptionalTotal amount of the transaction including all line charges and taxes. Calculated by QuickBooks business logic from the sum of all line Amount values plus applicable tax. Do not include in create or update request bodies; any value supplied is overwritten.
Decimal string
Read only: true
TotalAmt (anyOf 1)numberAlternative
TotalAmt (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?$
TotalCostAmountJSONOptionalTotal cost amount of the transaction, calculated from the sum of all line CostAmount values. Calculated by QuickBooks business logic; any value supplied is overwritten.
Decimal string
Read only: true
TotalCostAmount (anyOf 1)numberAlternative
TotalCostAmount (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 not supplied, the current date on the server is used. Sort order is ASC by default.
TxnStatusstringOptionalCurrent status of the change order. Valid values: Pending (default — created but not yet reviewed), Accepted (customer approved; project contracted total increases accordingly), Closed (converted to an Invoice or manually closed), Rejected (customer declined; does not affect project total).
TxnTaxDetailModelOptionalExpand Create a bill — request body — body Txn Tax Detail
Tax details for the transaction. Captures sales taxes calculated based on tax codes referenced by the transaction lines.
idstringOptionalUnique identifier for this object.
Read only: true
domainstringOptional
sparsebooleanOptional

Referenced models: Full update companyinfo — request body — body Email, Read a bill — response body — Bill Meta Data, 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, Create a bill — request body — body Linked Txn item, Void an invoice — request body — body Customer Memo, 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

Read a change order — response body — Change Order

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: allowed
AcceptedBystringOptionalName of the customer or representative who accepted the change order. Populated when TxnStatus is set to Accepted .
AcceptedDatestringOptionalDate the change order was accepted. Populated when TxnStatus is set to Accepted .
ApplyTaxAfterDiscountJSONOptionalIf false or null, sales tax is calculated first and then any discount is applied. If true , the discount is subtracted first and then sales tax is calculated.
ApplyTaxAfterDiscount (anyOf 1)booleanAlternative
ApplyTaxAfterDiscount (anyOf 2)stringAlternativeKnown values: true, false
ApplyTaxAfterDiscount (anyOf 3)nullAlternative
BillEmailModelOptionalExpand Full update companyinfo — request body — body Email
Email address where the change order is sent. Required when EmailStatus is set to NeedToSend .
Conditionally required
CustomerMemoModelOptionalExpand Read an invoice — response body — Invoice Customer Memo
User-entered message to the customer; visible on the Change Order document sent to the customer.
CustomerRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the customer associated with this change order. Must match the customer on the parent project estimate. Use Customer.Id and Customer.DisplayName from the Customer object for CustomerRef.value and CustomerRef.name , respectively.
DocNumberJSONOptionalReference number for the change order (for example, CO-001 ). If not provided, the value is null.
DocNumber (anyOf 1)stringAlternative
DocNumber (anyOf 2)nullAlternative
EmailStatusstringOptionalEmail status of the change order. Valid values: NotSet , NeedToSend , EmailSent .
ExpirationDatestringOptionalDate by which the change order must be accepted before it expires.
IdstringOptionalUnique identifier for this object.
Read only: true
LinearrayOptionalIndividual line items describing the work being added or removed. Supports SalesItemLineDetail and SubTotalLineDetail line types. Every line must include a LinkedTxn array referencing the parent project estimate with TxnType: "Estimate" . All lines must reference the same parent estimate. The Line array uses full-replace behavior on update — lines omitted from an update request are deleted.
Line[]JSONEach item
Line[] (anyOf 1)ModelAlternativeExpand Read an invoice — response body — Invoice Line item Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Sales Item Line Detail
Line[] (anyOf 2)ModelAlternativeExpand Read an invoice — response body — Invoice Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail
Line[] (anyOf 3)ModelAlternativeExpand Read an invoice — response body — Invoice Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num
Line[] (anyOf 4)ModelAlternativeExpand Read an invoice — response body — Invoice Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num
LinkedTxnarrayOptionalOne or more linked transaction references at the header level, reflecting the parent project estimate. Also appears on each line item. Use LinkedTxn.TxnId as the ID in a separate Estimate read request to retrieve details of the linked object. TxnType must always be Estimate .
LinkedTxn[]ModelEach itemExpand Read a bill — response body — Bill Linked Txn item
MetaDataModelOptionalExpand Read a bill — response body — Bill Meta Data
Descriptive information about the object. The MetaData values are set by Data Services and are read only for all applications.
PrintStatusstringOptionalPrinting status of the change order. Valid values: NotSet , NeedToPrint , PrintComplete .
PrivateNotestringOptionalOrganization-private note about the change order. This note does not appear on documents sent to the customer.
ProjectRefModelOptionalExpand Read an item — response body — Item Class Ref
Reference to the project this change order belongs to. Must reference an active project. Without a valid ProjectRef , the change order will not appear in the Projects dashboard.
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 fail. Only the latest version of the object is maintained by QuickBooks Online.
Read only: true
TotalAmtJSONOptionalTotal amount of the transaction including all line charges and taxes. Calculated by QuickBooks business logic from the sum of all line Amount values plus applicable tax. Do not include in create or update request bodies; any value supplied is overwritten.
Decimal string
Read only: true
TotalAmt (anyOf 1)JSONAlternative
TotalAmt (anyOf 1) (anyOf 1)numberAlternative
TotalAmt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalAmt (anyOf 2)stringAlternative
TotalCostAmountJSONOptionalTotal cost amount of the transaction, calculated from the sum of all line CostAmount values. Calculated by QuickBooks business logic; any value supplied is overwritten.
Decimal string
Read only: true
TotalCostAmount (anyOf 1)JSONAlternative
TotalCostAmount (anyOf 1) (anyOf 1)numberAlternative
TotalCostAmount (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
TotalCostAmount (anyOf 2)stringAlternative
TxnDatestringOptionalThe date entered by the user when this transaction occurred. For posting transactions, this is the posting date that affects the financial statements. If not supplied, the current date on the server is used. Sort order is ASC by default.
TxnStatusstringOptionalCurrent status of the change order. Valid values: Pending (default — created but not yet reviewed), Accepted (customer approved; project contracted total increases accordingly), Closed (converted to an Invoice or manually closed), Rejected (customer declined; does not affect project total).
TxnTaxDetailModelOptionalExpand Read a bill — response body — Bill Txn Tax Detail
Tax details for the transaction. Captures sales taxes calculated based on tax codes referenced by the transaction lines.

Referenced models: Read an invoice — response body — Invoice Line item Amount, Description, Description Line Detail, Detail Type, Id, Line Num, Read an invoice — response body — Invoice Line item Amount, Description, Detail Type, Discount Line Detail, Id, Line Num, Full update companyinfo — request body — body Email, Read a bill — response body — Bill Linked Txn item, Read an invoice — response body — Invoice Customer Memo, Read a bill — response body — Bill Meta Data, Read an item — response body — Item Class Ref, Read an invoice — response body — Invoice Line item Amount, Custom Extensions, Description, Detail Type, Id, Line Num, Sales Item Line Detail, Read an invoice — response body — Invoice Line item Amount, Description, Detail Type, Id, Line Num, Sub Total Line Detail, Read a bill — response body — Bill Txn Tax Detail

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.