Create a journal entry
Changed onCreates a journal entry with balanced debit and credit lines. QuickBooks Desktop requires total debits to equal total credits, and any line that posts to Accounts Receivable or Accounts Payable must include the related customer or vendor reference.
post/quickbooks-desktop/journal-entries
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Conductor-End-User-Idstring required
The ID of the End-User to receive this request.
Example:end_usr_1234567abcdefg
Request body
Example request
{
"transactionDate": "2024-10-01",
"refNumber": "JE-1234",
"currencyId": "80000001-1234567890",
"exchangeRate": 1.2345,
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"debitLines": [
{
"accountId": "80000001-1234567890",
"amount": "1000.00",
"memo": "Monthly utility bill settlement",
"entityId": "80000001-1234567890",
"classId": "80000001-1234567890",
"salesTaxItemId": "80000001-1234567890",
"billingStatus": "billable"
}
],
"creditLines": [
{
"accountId": "80000001-1234567890",
"amount": "1000.00",
"memo": "Allocated funds for office lease payment",
"entityId": "80000001-1234567890",
"classId": "80000001-1234567890",
"salesTaxItemId": "80000001-1234567890",
"billingStatus": "billable"
}
]
}Response
Returns the newly created journal entry.
Example response
{
"id": "123ABC-1234567890",
"objectType": "qbd_journal_entry",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"transactionDate": "2024-10-01",
"refNumber": "JE-1234",
"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"
}
]
}Changes
- warning
the
//request property's maxLength was set to4095 - warning
the
//request property's maxLength was set to4095
- warning
- breaking
the
//response's property type changed fromobjectto no type for status - breaking
removed the required property
///from the response with the status - breaking
removed the required property
///from the response with the status - info
added
subschema #1subschema #2to the//response propertyanyOflist for the response status
- breaking