Global API
...
Request
Credit Memo
Read
1min
The following is an example of read Credit Memo. The QuickBooks Credit Memo Id (Id) is required to read the Credit Memo.
Request
Response
1{
2 action=readCreditMemo,
3 responseJSON={
4 "statusCode": 200,
5 "status": "OK",
6 "creditMemos": [
7 {
8 "TxnTaxDetail": {
9 "TotalTax": 0
10 },
11 "TxnDate": "2021-07-08",
12 "TotalAmt": 100.00,
13 "SyncToken": "1",
14 "sparse": false,
15 "ShipAddr": {
16 "PostalCode": "94326",
17 "Longitude": "INVALID",
18 "Line1": "4581 Finch St.",
19 "Lat": "INVALID",
20 "Id": "2",
21 "CountrySubDivisionCode": "CA",
22 "City": "Bayshore"
23 },
24 "RemainingCredit": 0,
25 "MetaData": {
26 "LastUpdatedTime": "2021-07-24T12:51:28-07:00",
27 "CreateTime": "2021-07-24T12:51:27-07:00"
28 },
29 "Line": [
30 {
31 "SalesItemLineDetail": {
32 "UnitPrice": 100,
33 "TaxCodeRef": {
34 "value": "NON"
35 },
36 "Qty": 1,
37 "ItemRef": {
38 "value": "10",
39 "name": "Pest Control"
40 }
41 },
42 "LineNum": 1,
43 "Id": "1",
44 "DetailType": "SalesItemLineDetail",
45 "Description": "Pest Control Services",
46 "Amount": 100.00
47 },
48 {
49 "DetailType": "SubTotalLineDetail",
50 "Amount": 100.00
51 }
52 ],
53 "Id": "73",
54 "EmailStatus": "NotSet",
55 "DocNumber": "1026",
56 "CustomField": [
57 {
58 "Type": "StringType",
59 "Name": "Crew #",
60 "DefinitionId": "1"
61 },
62 {
63 "Type": "StringType",
64 "Name": "Test 2",
65 "DefinitionId": "2"
66 },
67 {
68 "Type": "StringType",
69 "DefinitionId": "3"
70 }
71 ],
72 "CustomerRef": {
73 "value": "1",
74 "name": "Amy's Bird Sanctuary"
75 },
76 "CustomerMemo": {
77 "value": "Thank you for your business and have a great day!"
78 },
79 "CurrencyRef": {
80 "value": "USD",
81 "name": "United States Dollar"
82 },
83 "BillEmail": {
84 "Address": "[email protected]"
85 },
86 "BillAddr": {
87 "Longitude": "INVALID",
88 "Line4": "Bayshore, CA 94326",
89 "Line3": "4581 Finch St.",
90 "Line2": "Amy's Bird Sanctuary",
91 "Line1": "Amy Lauterbach",
92 "Lat": "INVALID",
93 "Id": "79"
94 },
95 "Balance": 0
96 }
97 ]
98 },
99 timestamp=1640943095063,
100 validRequest=true,
101 version=1.0
102}