Read
1 min
The following is an example of read Credit Memo. The QuickBooks Credit Memo Id (Id) is required to read the Credit Memo.
{
action=readCreditMemo,
responseJSON={
"statusCode": 200,
"status": "OK",
"creditMemos": [
{
"TxnTaxDetail": {
"TotalTax": 0
},
"TxnDate": "2021-07-08",
"TotalAmt": 100.00,
"SyncToken": "1",
"sparse": false,
"ShipAddr": {
"PostalCode": "94326",
"Longitude": "INVALID",
"Line1": "4581 Finch St.",
"Lat": "INVALID",
"Id": "2",
"CountrySubDivisionCode": "CA",
"City": "Bayshore"
},
"RemainingCredit": 0,
"MetaData": {
"LastUpdatedTime": "2021-07-24T12:51:28-07:00",
"CreateTime": "2021-07-24T12:51:27-07:00"
},
"Line": [
{
"SalesItemLineDetail": {
"UnitPrice": 100,
"TaxCodeRef": {
"value": "NON"
},
"Qty": 1,
"ItemRef": {
"value": "10",
"name": "Pest Control"
}
},
"LineNum": 1,
"Id": "1",
"DetailType": "SalesItemLineDetail",
"Description": "Pest Control Services",
"Amount": 100.00
},
{
"DetailType": "SubTotalLineDetail",
"Amount": 100.00
}
],
"Id": "73",
"EmailStatus": "NotSet",
"DocNumber": "1026",
"CustomField": [
{
"Type": "StringType",
"Name": "Crew #",
"DefinitionId": "1"
},
{
"Type": "StringType",
"Name": "Test 2",
"DefinitionId": "2"
},
{
"Type": "StringType",
"DefinitionId": "3"
}
],
"CustomerRef": {
"value": "1",
"name": "Amy's Bird Sanctuary"
},
"CustomerMemo": {
"value": "Thank you for your business and have a great day!"
},
"CurrencyRef": {
"value": "USD",
"name": "United States Dollar"
},
"BillEmail": {
"Address": "[email protected]"
},
"BillAddr": {
"Longitude": "INVALID",
"Line4": "Bayshore, CA 94326",
"Line3": "4581 Finch St.",
"Line2": "Amy's Bird Sanctuary",
"Line1": "Amy Lauterbach",
"Lat": "INVALID",
"Id": "79"
},
"Balance": 0
}
]
},
timestamp=1640943095063,
validRequest=true,
version=1.0
}