Update a journal entry
Changed onUpdates an existing journal entry. Keep the debits and credits in balance, and include the related customer or vendor on any A/R or A/P line you submit in the update body.
NOTE: If you include lines, QuickBooks Desktop replaces that line list with the array you send, so include unchanged lines you want to keep and use id: "-1" for new lines.
Request
- Base URLhttps://api.conductor.is/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The QuickBooks-assigned unique identifier of the journal entry to update.
Headers
The ID of the End-User to receive this request.
Request body
Example request
{
"revisionNumber": "1721172183",
"transactionDate": "2024-10-01",
"refNumber": "JE-1234",
"currencyId": "80000001-1234567890",
"exchangeRate": 1.2345,
"lines": [
{
"id": "456DEF-1234567890",
"journalLineType": "debit",
"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 updated 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
- 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