Skip to main content
GET
/
quickbooks-desktop
/
credit-card-credits
JavaScript
import Conductor from 'conductor-node';

const conductor = new Conductor({
  apiKey: 'sk_conductor_...',
});

// Automatically fetches more pages as needed.
for await (const creditCardCredit of conductor.qbd.creditCardCredits.list({
  conductorEndUserId: 'end_usr_1234567abcdefg',
})) {
  console.log(creditCardCredit.id);
}
{
  "objectType": "list",
  "url": "/v1/quickbooks-desktop/credit-card-credits",
  "data": [
    {
      "id": "123ABC-1234567890",
      "objectType": "qbd_credit_card_credit",
      "createdAt": "2025-01-01T12:34:56+00:00",
      "updatedAt": "2025-02-01T12:34:56+00:00",
      "revisionNumber": "1721172183",
      "account": {
        "id": "80000001-1234567890",
        "fullName": "Visa"
      },
      "payee": {
        "id": "80000001-1234567890",
        "fullName": "Office Depot"
      },
      "transactionDate": "2024-10-01",
      "amount": "1000.00",
      "currency": {
        "id": "80000001-1234567890",
        "fullName": "USD"
      },
      "exchangeRate": 1.2345,
      "amountInHomeCurrency": "1234.56",
      "refNumber": "CREDIT-1234",
      "memo": "Refund for returned office supplies",
      "salesTaxCode": {
        "id": "80000001-1234567890",
        "fullName": "Non"
      },
      "externalId": "12345678-abcd-1234-abcd-1234567890ab",
      "expenseLines": [
        {
          "id": "456DEF-1234567890",
          "objectType": "qbd_expense_line",
          "account": {
            "id": "80000001-1234567890",
            "fullName": "Expenses:Office Supplies"
          },
          "amount": "1000.00",
          "memo": "New office chair",
          "payee": {
            "id": "80000001-1234567890",
            "fullName": "Acme Corporation"
          },
          "class": {
            "id": "80000001-1234567890",
            "fullName": "Office Supplies"
          },
          "salesTaxCode": {
            "id": "80000001-1234567890",
            "fullName": "Non"
          },
          "billingStatus": "billable",
          "salesRepresentative": {
            "id": "80000001-1234567890",
            "fullName": "Jane Doe"
          },
          "customFields": [
            {
              "ownerId": "<any>",
              "name": "<any>",
              "type": "<any>",
              "value": "<any>"
            }
          ]
        }
      ],
      "itemLines": [
        {
          "id": "456DEF-1234567890",
          "objectType": "qbd_item_line",
          "item": {
            "id": "80000001-1234567890",
            "fullName": "Widget A"
          },
          "inventorySite": {
            "id": "80000001-1234567890",
            "fullName": "Main Warehouse"
          },
          "inventorySiteLocation": {
            "id": "80000001-1234567890",
            "fullName": "Aisle 3, Shelf B"
          },
          "serialNumber": "SN1234567890",
          "lotNumber": "LOT2023-001",
          "expirationDate": "2025-12-31",
          "description": "High-quality widget with custom engraving",
          "quantity": 5,
          "unitOfMeasure": "Each",
          "overrideUnitOfMeasureSet": {
            "id": "80000001-1234567890",
            "fullName": "Volume Units"
          },
          "cost": "1000.00",
          "amount": "1000.00",
          "customer": {
            "id": "80000001-1234567890",
            "fullName": "Acme Corporation"
          },
          "class": {
            "id": "80000001-1234567890",
            "fullName": "Installation:Residential"
          },
          "salesTaxCode": {
            "id": "80000001-1234567890",
            "fullName": "Non"
          },
          "billingStatus": "billable",
          "salesRepresentative": {
            "id": "80000001-1234567890",
            "fullName": "Jane Doe"
          },
          "customFields": [
            {
              "ownerId": "<any>",
              "name": "<any>",
              "type": "<any>",
              "value": "<any>"
            }
          ]
        }
      ],
      "itemGroupLines": [
        {
          "id": "456DEF-1234567890",
          "objectType": "qbd_item_group_line",
          "itemGroup": {
            "id": "80000001-1234567890",
            "fullName": "Office Supplies Bundle"
          },
          "description": "Standard widget bulk package",
          "quantity": 5,
          "unitOfMeasure": "Each",
          "overrideUnitOfMeasureSet": {
            "id": "80000001-1234567890",
            "fullName": "Volume Units"
          },
          "totalAmount": "1000.00",
          "itemLines": [
            {
              "id": "456DEF-1234567890",
              "objectType": "qbd_item_line",
              "item": {
                "id": "80000001-1234567890",
                "fullName": "Widget A"
              },
              "inventorySite": {
                "id": "80000001-1234567890",
                "fullName": "Main Warehouse"
              },
              "inventorySiteLocation": {
                "id": "80000001-1234567890",
                "fullName": "Aisle 3, Shelf B"
              },
              "serialNumber": "SN1234567890",
              "lotNumber": "LOT2023-001",
              "expirationDate": "2025-12-31",
              "description": "High-quality widget with custom engraving",
              "quantity": 5,
              "unitOfMeasure": "Each",
              "overrideUnitOfMeasureSet": {
                "id": "80000001-1234567890",
                "fullName": "Volume Units"
              },
              "cost": "1000.00",
              "amount": "1000.00",
              "customer": {
                "id": "80000001-1234567890",
                "fullName": "Acme Corporation"
              },
              "class": {
                "id": "80000001-1234567890",
                "fullName": "Installation:Residential"
              },
              "salesTaxCode": {
                "id": "80000001-1234567890",
                "fullName": "Non"
              },
              "billingStatus": "billable",
              "salesRepresentative": {
                "id": "80000001-1234567890",
                "fullName": "Jane Doe"
              },
              "customFields": [
                {
                  "ownerId": "<any>",
                  "name": "<any>",
                  "type": "<any>",
                  "value": "<any>"
                }
              ]
            }
          ],
          "customFields": [
            {
              "ownerId": "<any>",
              "name": "<any>",
              "type": "<any>",
              "value": "<any>"
            }
          ]
        }
      ],
      "customFields": [
        {
          "ownerId": "<any>",
          "name": "<any>",
          "type": "<any>",
          "value": "<any>"
        }
      ]
    }
  ],
  "nextCursor": "12345678-abcd-abcd-example-1234567890ab",
  "remainingCount": 10,
  "hasMore": true
}

Authorizations

Authorization
string
header
required

Headers

Conductor-End-User-Id
string
required
Example:

Query Parameters

ids
string[]
Example:
refNumbers
string[]
Example:
limit
integer
default:150
Required range: 1 <= x <= 150
Example:
cursor
string
Example:
updatedAfter
string
Example:
updatedBefore
string
Example:
transactionDateFrom
string<date>
Example:
transactionDateTo
string<date>
Example:
payeeIds
string[]
Example:
accountIds
string[]
Example:
refNumberContains
string
Example:
refNumberStartsWith
string
Example:
refNumberEndsWith
string
Example:
refNumberFrom
string
Example:
refNumberTo
string
Example:
currencyIds
string[]
Example:
includeLineItems
boolean
default:true
Example:

Response

200 - application/json
objectType
string
required
Allowed value: "list"
Example:
url
string
required
Example:
data
The Credit Card Credit object · object[]
required
nextCursor
string | null
required
Example:
remainingCount
number | null
required
Example:
hasMore
boolean
required