ItemReceipt
Supported Methods | Supported Parameters |
---|---|
GET, POST, PATCH | Id, number, page, pageSize, modTimeStart, modTimeEnd |
{
"ID": "",
"Currency": {
"ID": "",
"FullName": ""
},
"IsTaxIncluded": true,
"Memo": "",
"Account": {
"ID": "",
"FullName": ""
},
"Number": "",
"SalesTaxCode": {
"ID": "",
"FullName": ""
},
"CreatedDate": "2023-01-09T16:30:30Z",
"LastModifiedDate": "2023-01-09T16:30:30Z",
"Amount": 0.0,
"Date": "2023-01-09T16:30:30Z",
"Vendor": {
"ID": "",
"FullName": ""
},
"ItemLines": [{
"Description": "",
"Item": {
"ID": "",
"FullName": ""
},
"Quantity": 0.0,
"Amount": 0.0,
"UnitOfMeasure": {
"FullName": ""
},
"Class": {
"ID": "",
"FullName": ""
},
"Cost": 0.0,
"Customer": {
"ID": "",
"FullName": ""
},
"FromInventorySite": {
"ID": "",
"FullName": ""
},
"FromInventorySiteLocation": {
"ID": "",
"FullName": ""
},
"SalesRep": {
"ID": "",
"FullName": ""
},
"SalesTaxCode": {
"ID": "",
"FullName": ""
},
"TaxAmount": 0.0,
"IsBillable": "",
"BillableSpecified": true,
"LinkedPurchaseOrder": {
"Number": ""
},
"LinkToTransaction": {
"ID": ""
},
"LotNumber": "",
"SubLines": [{
"ID": "",
"Item": {
"ID": "",
"FullName": ""
},
"Desc": "",
"Quantity": 0.0,
"Amount": 0.0,
"SalesTaxCode": {
"ID": "",
"FullName": ""
}
}]
}],
"AccountLines": [{
"Account": {
"ID": "",
"FullName": ""
},
"Amount": 0.0,
"Class": {
"ID": "",
"FullName": ""
},
"Customer": {
"ID": "",
"FullName": ""
},
"Memo": "",
"SalesRep": {
"ID": "",
"FullName": ""
},
"SalesTaxCode": {
"ID": "",
"FullName": ""
},
"TaxAmount": 0.0,
"IsBillable": "",
"BillableSpecified": true
}],
"LinkedTransactions": [{
"Amount": 0.0,
"LinkType": "",
"Number": "",
"Date": "2023-01-09T16:30:30Z",
"ID": "",
"Type": ""
}],
"DeletedDate": "2023-01-09T16:30:30Z",
"TotalAmountInHomeCurrency": 0.0
}
Important Notes
- Do not send both ItemLineItems and LinkedTransactions
- On PATCH, QuickBooks Desktop will unlink any LinkedTransactions
- May relate ItemLineItems to specific Purchase Order Lines, but is only supported on POST. An update will unlink the Item Receipt ItemLineItem from the PO line as noted above.
- Do not use both LinkedTransactions and ItemLineItems[].LinkToTxn. Only one will work.
- If you use LinkedTransactions QuickBooks will automatically populate all lines from the related transaction to the Item Receipt.
- If you want to reference specific lines please use the ItemLineItems[].LinkToTxn.
You may relate ItemLineItems to a specific transaction line item, if supported. Currently Purchase Orders for QuickBooks Desktop are supported. To link a ItemReceipt.ItemLineItems to a PO Line you'll use the ItemLineItems[]LinkToTxn{} object reference. Omit the ItemLineItems[].Item{} object reference as QuickBooks will automatically pull in the correct item from the PO line item referenced.
Example:
"ItemLineItems": [{
"Quantity": "4",
"Amount": "4",
"Cost": "1",
"InventorySite": {
"ID": "80000099-123456",
"FullName": "Main"
},
"IsBillable": "",
"BillableSpecified": 0,
"LinkToTxn": {
"ID":"PO.ID",
"ExternalID":"PO.LineItems[x].ID"
}
}]
Updated almost 2 years ago