Bills
A bill in QuickBooks Desktop is a record of a transaction that represents a request-for-payment from a vendor for goods or services that it has provided. Companies use bills to track the expenses they need to pay but have not yet paid. Bills are also known as payables.
To see all of the request parameters and response fields for , check out our client library’s amazing autocomplete.
Fetching bills
Each bill has one or multiple line items, which are the goods or services that the vendor is requesting payment for. The following example fetches all bills for a given EndUser, including the line items for each bill.
Creating bills
To create a bill in QuickBooks Desktop, 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 bill in QuickBooks Desktop, which also requires creating a mock vendor, 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.