GET
/
quickbooks-desktop
/
deleted-transactions
JavaScript
import Conductor from 'conductor-node';

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

const deletedTransactions = await conductor.qbd.deletedTransactions.list({
  transactionTypes: ['invoice'],
  conductorEndUserId: 'end_usr_1234567abcdefg',
});

console.log(deletedTransactions.data);
{
  "objectType": "list",
  "url": "/v1/quickbooks-desktop/deleted-transactions",
  "data": [
    {
      "transactionType": "invoice",
      "id": "123ABC-1234567890",
      "objectType": "qbd_deleted_transaction",
      "createdAt": "2025-01-01T12:34:56+00:00",
      "deletedAt": "2025-02-01T12:34:56+00:00",
      "refNumber": "INV-1234"
    }
  ]
}

Authorizations

Authorization
string
header
required

Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}").

Headers

Conductor-End-User-Id
string
required

The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}").

Example:

"end_usr_1234567abcdefg"

Query Parameters

transactionTypes
enum<string>[]
required

Filter for deleted transactions by their transaction type(s).

Example:
["invoice"]
deletedAfter
string

Filter for deleted transactions deleted on or after this date/time, within the last 90 days (QuickBooks limit). Accepts the following ISO 8601 formats:

  • date-only (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the start of the specified day in the local timezone of the end-user's computer (e.g., 2025-01-012025-01-01T00:00:00).
  • datetime without timezone (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop interprets the timestamp in the local timezone of the end-user's computer.
  • datetime with timezone (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop interprets the timestamp using the specified timezone.
Example:

"2025-01-01T12:34:56+00:00"

deletedBefore
string

Filter for deleted transactions deleted on or before this date/time, within the last 90 days (QuickBooks limit). Accepts the following ISO 8601 formats:

  • date-only (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the end of the specified day in the local timezone of the end-user's computer (e.g., 2025-01-012025-01-01T23:59:59).
  • datetime without timezone (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop interprets the timestamp in the local timezone of the end-user's computer.
  • datetime with timezone (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop interprets the timestamp using the specified timezone.
Example:

"2025-02-01T12:34:56+00:00"

Response

200 - application/json

Returns a list of deleted transactions.

The response is of type object.