QuickBooks Desktop API
Core Resources
- Auth Sessions
- End Users
Utilities
Transactions
- All Transactions
- Bill Check Payments
- Bill Credit Card Payments
- Bills
- Checks
- Credit Card Charges
- Credit Card Credits
- Credit Memos
- Estimates
- Inventory Adjustments
- Invoices
- Item Receipts
- Journal Entries
- Purchase Orders
- Receive-Payments
- Sales Orders
- Sales Receipts
- Time Tracking Activities
- Transfers
- Vendor Credits
General
- Account Tax Lines
- Accounts
- Classes
- Company
- Customers / Jobs
- Date-Driven Terms
- Employees
- Inventory Sites
- Other-Names
- Payment Methods
- Payroll Wage Items
- Preferences
- Price Levels
- Sales Representatives
- Sales-Tax Codes
- Standard Terms
- Vendors
Items
- Discount Items
- Inventory Assembly Items
- Inventory Items
- Item Groups
- Item Sites
- Non-Inventory Items
- Sales-Tax Items
- Service Items
- Subtotal Items
Journal Entries
Retrieve a journal entry
Retrieves a journal entry by ID.
GET
/
quickbooks-desktop
/
journal-entries
/
{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 journalEntry = await client.qbd.journalEntries.retrieve('123ABC-1234567890', {
conductorEndUserId: 'end_usr_1234567abcdefg',
});
console.log(journalEntry.id);
}
main();
{
"id": "123ABC-1234567890",
"objectType": "qbd_journal_entry",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"transactionDate": "2021-10-01",
"refNumber": "JE-1234",
"isAdjustment": false,
"isHomeCurrencyAdjustment": false,
"areAmountsEnteredInHomeCurrency": false,
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"debitLines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_journal_debit_line",
"account": {
"id": "80000001-1234567890",
"fullName": "Checking"
},
"amount": "1000.00",
"memo": "Monthly utility bill settlement",
"entity": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Facilities & Utilities"
},
"salesTaxItem": {
"id": "80000001-1234567890",
"fullName": "State Sales Tax"
},
"billingStatus": "billable"
}
],
"creditLines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_journal_credit_line",
"account": {
"id": "80000001-1234567890",
"fullName": "Accounts-Payable"
},
"amount": "1000.00",
"memo": "Allocated funds for office lease payment",
"entity": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Administrative"
},
"salesTaxItem": {
"id": "80000001-1234567890",
"fullName": "State Sales Tax"
},
"billingStatus": "billable"
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
Authorizations
Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}"
).
Headers
The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}"
).
Example:
"end_usr_1234567abcdefg"
Path Parameters
The QuickBooks-assigned unique identifier of the journal entry to retrieve.
Example:
"123ABC-1234567890"
Response
200 - application/json
Returns the specified journal entry.
The response is of type object
.
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 journalEntry = await client.qbd.journalEntries.retrieve('123ABC-1234567890', {
conductorEndUserId: 'end_usr_1234567abcdefg',
});
console.log(journalEntry.id);
}
main();
{
"id": "123ABC-1234567890",
"objectType": "qbd_journal_entry",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"transactionDate": "2021-10-01",
"refNumber": "JE-1234",
"isAdjustment": false,
"isHomeCurrencyAdjustment": false,
"areAmountsEnteredInHomeCurrency": false,
"currency": {
"id": "80000001-1234567890",
"fullName": "USD"
},
"exchangeRate": 1.2345,
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"debitLines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_journal_debit_line",
"account": {
"id": "80000001-1234567890",
"fullName": "Checking"
},
"amount": "1000.00",
"memo": "Monthly utility bill settlement",
"entity": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Facilities & Utilities"
},
"salesTaxItem": {
"id": "80000001-1234567890",
"fullName": "State Sales Tax"
},
"billingStatus": "billable"
}
],
"creditLines": [
{
"id": "456DEF-1234567890",
"objectType": "qbd_journal_credit_line",
"account": {
"id": "80000001-1234567890",
"fullName": "Accounts-Payable"
},
"amount": "1000.00",
"memo": "Allocated funds for office lease payment",
"entity": {
"id": "80000001-1234567890",
"fullName": "Acme Corporation"
},
"class": {
"id": "80000001-1234567890",
"fullName": "Administrative"
},
"salesTaxItem": {
"id": "80000001-1234567890",
"fullName": "State Sales Tax"
},
"billingStatus": "billable"
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.