GET
/
quickbooks-desktop
/
transactions
/
{id}
import Conductor from 'conductor-node';

const client = new Conductor({
  apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
});

async function main() {
  const transaction = await client.qbd.transactions.retrieve('123ABC-1234567890', {
    conductorEndUserId: 'end_usr_1234567abcdefg',
  });

  console.log(transaction.account);
}

main();
{
  "transactionType": "invoice",
  "transactionId": "123ABC-1234567890",
  "transactionLineId": "456DEF-1234567890",
  "createdAt": "2021-10-01T17:34:56.000Z",
  "updatedAt": "2021-10-01T20:45:30.000Z",
  "entity": {
    "id": "80000001-1234567890",
    "fullName": "Acme Corporation"
  },
  "account": {
    "id": "80000001-1234567890",
    "fullName": "Checking"
  },
  "transactionDate": "2021-10-01",
  "refNumber": "INV-1234",
  "amount": "1000.00",
  "currency": {
    "id": "80000001-1234567890",
    "fullName": "USD"
  },
  "exchangeRate": 1.2345,
  "amountInHomeCurrency": "1234.56",
  "memo": "Customer requested rush delivery"
}

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"

Path Parameters

id
string
required

The QuickBooks-assigned unique identifier of the transaction to retrieve.

Example:

"123ABC-1234567890"

Response

200 - application/json
Returns the specified transaction.

The response is of type object.