GET
/
quickbooks-desktop
/
sales-orders
/
{id}

Authorizations

Authorization
string
header
required

Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}").

Headers

Conductor-End-User-Id
string
required

The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}").

Path Parameters

id
string
required

The QuickBooks-assigned unique identifier of the sales order to retrieve.

Response

200 - application/json
billingAddress
object | null
required

The sales order's billing address.

class
object | null
required

The sales order's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default. A class defined here is automatically used in this sales order's line items unless overridden at the line item level.

createdAt
string
required

The date and time when this sales order was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.

currency
object | null
required

The sales order's currency. For built-in currencies, the name and code are standard international values. For user-defined currencies, all values are editable.

customer
object
required

The customer or customer-job associated with this sales order.

customerMessage
object | null
required

The message to display to the customer on the sales order.

customFields
object[]
required

The custom fields for the sales order object, added as user-defined data extensions, not included in the standard QuickBooks object.

documentTemplate
object | null
required

The predefined template in QuickBooks that determines the layout and formatting for this sales order when printed or displayed.

dueDate
string | null
required

The date by which this sales order must be paid, in ISO 8601 format (YYYY-MM-DD).

exchangeRate
number | null
required

The market exchange rate between this sales order's currency and the home currency in QuickBooks at the time of this transaction. Represented as a decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).

externalId
string | null
required

A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system.

id
string
required

The unique identifier assigned by QuickBooks to this sales order. This ID is unique across all transaction types.

isFullyInvoiced
boolean | null
required

Indicates whether all items in this sales order have been invoiced.

isManuallyClosed
boolean
required

Indicates whether this sales order has been manually marked as closed, even if it has not been invoiced.

isQueuedForEmail
boolean | null
required

Indicates whether this sales order is included in the queue of documents for QuickBooks to email to the customer.

isQueuedForPrint
boolean | null
required

Indicates whether this sales order is included in the queue of documents for QuickBooks to print.

lineGroups
object[]
required

The sales order's line item groups, each representing a predefined set of related items.

lines
object[]
required

The sales order's line items, each representing a single product or service ordered.

linkedTransactions
object[]
required

The sales order's linked transactions, such as payments applied, credits used, or associated purchase orders.

IMPORTANT: You must specify the parameter includeLinkedTransactions when fetching a list of sales orders to receive this field because it is not returned by default.

memo
string | null
required

A memo or note for this sales order.

objectType
string
required

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

Allowed value: "qbd_sales_order"
otherCustomField
string | null
required

A built-in custom field for additional information specific to this sales order. Unlike the user-defined fields in the customFields array, this is a standard QuickBooks field that exists for all sales orders for convenience. Developers often use this field for tracking information that doesn't fit into other standard QuickBooks fields. Unlike otherCustomField1 and otherCustomField2, which are line item fields, this exists at the transaction level. Hidden by default in the QuickBooks UI.

purchaseOrderNumber
string | null
required

The customer's Purchase Order (PO) number associated with this sales order. This field is often used to cross-reference the sales order with the customer's purchasing system.

refNumber
string | null
required

The case-sensitive user-defined reference number for this sales order, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user.

revisionNumber
string
required

The current revision number of this sales order object, which changes each time the object is modified. When updating this object, you must provide the most recent revisionNumber to ensure you're working with the latest data; otherwise, the update will return an error.

salesChannelName
enum<string> | null
required

The type of the sales channel for this sales order.

Available options:
blank,
ecommerce
salesRepresentative
object | null
required

The sales order's sales representative. Sales representatives can be employees, vendors, or other names in QuickBooks.

salesStoreName
string | null
required

The name of the sales store for this sales order.

salesStoreType
string | null
required

The type of the sales store for this sales order.

salesTaxCode
object | null
required

The sales-tax code for this sales order, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.

Default codes include "Non" (non-taxable) and "Tax" (taxable), but custom codes can also be created in QuickBooks. If QuickBooks is not set up to charge sales tax (via the "Do You Charge Sales Tax?" preference), it will assign the default non-taxable code to all sales.

salesTaxItem
object | null
required

The sales-tax item used to calculate the actual tax amount for this sales order's transactions by applying a specific tax rate collected for a single tax agency. Unlike salesTaxCode, which only indicates general taxability, this field drives the actual tax calculation and reporting.

salesTaxPercentage
string | null
required

The sales tax percentage applied to this sales order, represented as a decimal string.

salesTaxTotal
string
required

The total amount of sales tax charged for this sales order, represented as a decimal string.

shipmentOrigin
string | null
required

The origin location from where the product associated with this sales order is shipped. This is the point at which ownership and liability for goods transfer from seller to buyer. Internally, QuickBooks uses the term "FOB" for this field, which stands for "freight on board". This field is informational and has no accounting implications.

shippingAddress
object | null
required

The sales order's shipping address.

shippingDate
string | null
required

The date when the products or services for this sales order were shipped or are expected to be shipped, in ISO 8601 format (YYYY-MM-DD).

shippingMethod
object | null
required

The shipping method used for this sales order, such as standard mail or overnight delivery.

subtotal
string
required

The subtotal of this sales order, which is the sum of all sales order lines before taxes and payments are applied, represented as a decimal string.

terms
object | null
required

The sales order's payment terms, defining when payment is due and any applicable discounts.

totalAmount
string
required

The total monetary amount of this sales order, equivalent to the sum of the amounts in lines and lineGroups, represented as a decimal string.

totalAmountInHomeCurrency
string | null
required

The total monetary amount of this sales order converted to the home currency of the QuickBooks company file. Represented as a decimal string.

transactionDate
string
required

The date of this sales order, in ISO 8601 format (YYYY-MM-DD).

updatedAt
string
required

The date and time when this sales order was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss±hh:mm). The time zone is the same as the user's time zone in QuickBooks.