QuickBooks Desktop API
Core Resources
- Auth Sessions
- End Users
Utilities
Transactions
- All Transactions
- Bill Check Payments
- Bill Credit Card Payments
- Bills
- Checks
- Credit Card Charges
- Credit Card Credits
- Credit Memos
- Estimates
- Inventory Adjustments
- Invoices
- Item Receipts
- Journal Entries
- Purchase Orders
- Receive-Payments
- Sales Orders
- Sales Receipts
- Time Tracking Activities
- Transfers
- Vendor Credits
General
- Account Tax Lines
- Accounts
- Classes
- Company
- Customers / Jobs
- Date-Driven Terms
- Employees
- Inventory Sites
- Other-Names
- Payment Methods
- Payroll Wage Items
- Preferences
- Price Levels
- Sales Representatives
- Sales-Tax Codes
- Standard Terms
- Vendors
Items
- Discount Items
- Inventory Assembly Items
- Inventory Items
- Item Groups
- Item Sites
- Non-Inventory Items
- Sales-Tax Items
- Service Items
- Subtotal Items
Purchase Orders
The Purchase Order object
A purchase order represents a formal request for goods or services sent to a vendor. Since it is a non-posting transaction, it serves as a commitment to purchase but does not impact the company’s financial statements.
The schema is of type object
.
{
"id": "123ABC-1234567890",
"objectType": "qbd_purchase_order",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"vendor": {
"id": "80000001-1234567890",
"fullName": "Acme Supplies Ltd."
},
"class": {
"id": "80000001-1234567890",
"fullName": "Office Supplies"
},
"inventorySite": {
"id": "80000001-1234567890",
"fullName": "Main Warehouse"
},
"shipToEntity": {
"id": "80000001-1234567890",
"fullName": "Customer"
},
"documentTemplate": {
"id": "80000001-1234567890",
"fullName": "Purchase Order Template"
},
"transactionDate": "2021-10-01",
"refNumber": "PO-1234",
"vendorAddress": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"line4": "",
"line5": "",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"shippingAddress": {
"line1": "Conductor Labs Inc.",
"line2": "540 Market St.",
"line3": "Suite 100",
"line4": "",
"line5": "",
"city": "San Francisco",
"state": "CA",
"postalCode": "94110",
"country": "United States",
"note": "Conductor HQ"
},
"terms": {
"id": "80000001-1234567890",
"fullName": "Net 30"
},
"dueDate": "2021-10-31",
"expectedDate": "2024-01-01",
"shippingMethod": {
"id": "80000001-1234567890",
"fullName": "FedEx Ground"
},
"shipmentOrigin": "San Francisco, CA",
"totalAmount": "1000.00",
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"totalAmountInHomeCurrency": "1234.56",
"isManuallyClosed": true,
"isFullyReceived": false,
"memo": "Office supplies for September",
"vendorMessage": "Please include packing slip with shipment",
"isQueuedForPrint": true,
"isQueuedForEmail": true,
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"otherCustomField1": "Special handling required",
"otherCustomField2": "Always ship with a spare",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"linkedTransactions": [
{
"id": "123ABC-1234567890",
"objectType": "qbd_linked_transaction",
"transactionType": "invoice",
"transactionDate": "2021-10-01",
"refNumber": "LINK-1234",
"linkType": "amount",
"amount": "1000.00"
}
],
"lines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_purchase_order_line",
"item": {
"id": "80000001-1234567890",
"fullName": "Widget A"
},
"sku": "MPN-123456",
"description": "Office chairs - Herman Miller Aeron (Black)",
"quantity": 5,
"unitOfMeasure": "Each",
"overrideUnitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Volume Units"
},
"rate": "10.00",
"class": {
"id": "80000001-1234567890",
"fullName": "Office Supplies"
},
"amount": "1000.00",
"inventorySiteLocation": {
"id": "80000001-1234567890",
"fullName": "Aisle 3, Shelf B"
},
"payee": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"serviceDate": "2024-03-15",
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"receivedQuantity": 5,
"unbilledQuantity": 2,
"isBilled": false,
"isManuallyClosed": true,
"otherCustomField1": "Special handling required",
"otherCustomField2": "Always ship with a spare",
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
],
"lineGroups": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_purchase_order_line_group",
"itemGroup": {
"id": "80000001-1234567890",
"fullName": "Office Supplies Bundle"
},
"description": "Office supplies bundle",
"quantity": 5,
"unitOfMeasure": "Each",
"overrideUnitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Volume Units"
},
"shouldPrintItemsInGroup": true,
"totalAmount": "1000.00",
"lines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_purchase_order_line",
"item": {
"id": "80000001-1234567890",
"fullName": "Widget A"
},
"sku": "MPN-123456",
"description": "Office chairs - Herman Miller Aeron (Black)",
"quantity": 5,
"unitOfMeasure": "Each",
"overrideUnitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Volume Units"
},
"rate": "10.00",
"class": {
"id": "80000001-1234567890",
"fullName": "Office Supplies"
},
"amount": "1000.00",
"inventorySiteLocation": {
"id": "80000001-1234567890",
"fullName": "Aisle 3, Shelf B"
},
"payee": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"serviceDate": "2024-03-15",
"salesTaxCode": {
"id": "80000001-1234567890",
"fullName": "Non"
},
"receivedQuantity": 5,
"unbilledQuantity": 2,
"isBilled": false,
"isManuallyClosed": true,
"otherCustomField1": "Special handling required",
"otherCustomField2": "Always ship with a spare",
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.