Sales receipts
A sales receipt in QuickBooks Desktop is a record of a sale to a customer, such as a payment by cash, check, or credit card. Each sales receipt has several line items, which are the products or services sold.
To see all of the request parameters and response fields for , check out our client library’s amazing autocomplete.
Fetching sales receipts
The following example fetches all sales receipts for the specified EndUser, including the line items:
Creating sales receipts
To create a sales receipt in QuickBooks Desktop from scratch, you either need the identifiers (e.g., ListID
) of the required associated objects, or you must create the associated objects first.
The following example uses mock data to create a sales receipt in QuickBooks Desktop, which also requires creating a mock customer, account, and service-item using the add()
method of each object. The add()
method returns the created object, which contains the ListID
identifier to associate the objects with each other.