Skip to content
Desktop Accounting API

Create an employee

Try itPOST /v1/quickbooks-desktop/employees

This request changes data. It runs for real against the QuickBooks Desktop company file of the end user you choose. Use a test key (sk_test_) and a test company file.

Generated for you. Resending with the same key replays the original result instead of writing twice; a new key is generated after each response unless the API says the request is safe to retry.
Headers (3 optional)
Prefilled with the required fields only. See the request body section below for every field.
POST
/v1/quickbooks-desktop/employees
curl -X POST https://api.desktopaccountingapi.com/v1/quickbooks-desktop/employees \
-H "Authorization: Bearer $DAAPI_SECRET_KEY" \
-H "Daapi-End-User-Id: $DAAPI_END_USER_ID" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{}'

Creates an employee in QuickBooks Desktop and returns it. Send an Idempotency-Key header so a retry after a network error never creates a second employee (the SDKs do this for you). See Idempotency and safe retries.

Daapi-End-User-Id
required
string
/^eu_[0-9a-hjkmnp-tv-z]{26}$/

The end user whose QuickBooks company file this request uses. Conductor-End-User-Id is accepted as an alias.

Example
eu_01j9x4m6v4c8k2t7q0r5s3w1zb
Daapi-Timeout-Seconds
integer
>= 1 <= 300

How long to wait for QuickBooks, in seconds (1–300). Conductor-Timeout-Seconds is accepted as an alias. Default 90, or 60 for the health check. If the request has not been sent by then it is canceled (504 REQUEST_TIMEOUT_NOT_SENT); if it was sent it keeps running (504 QBD_REQUEST_TIMEOUT).

Example
90
Prefer
string
Allowed value: respond-async

Send respond-async to get 202 Accepted with a request resource immediately instead of waiting for QuickBooks.

Example
respond-async
Daapi-Queue-Ttl-Seconds
integer
>= 10 <= 86400

Async only: the latest time, in seconds from now (10 to 86400), the request may still be sent to QuickBooks. Default 3600.

Example
3600
Idempotency-Key
string
>= 1 characters <= 255 characters /^[\x20-\x7e]+$/

Makes a write safe to retry. Repeating a key with the same request attaches to or replays the original instead of creating a second one. 1–255 printable ASCII characters, retained 7 days. Reusing a key with a different request returns 422 IDEMPOTENCY_KEY_REUSED.

Example
6f1c2a0e-1f7e-4c55-9a7a-0b2d2c9e3a10
Media typeapplication/json

Fields for creating an employee.

object
isActive

Whether this employee is active. Inactive objects stay in QuickBooks but are hidden from most lists.

boolean
salutation

Salutation such as Mr. or Dr.

string
<= 15 characters
firstName

First name.

string
<= 25 characters
middleName

Middle name or initial.

string
<= 5 characters
lastName

Last name.

string
<= 25 characters
jobTitle

Job title.

string
<= 41 characters
supervisorId

ID of the supervisor for this employee.

string
>= 1 characters <= 36 characters
Example
80000001-1234567890
department

Department of this employee.

string
<= 31 characters
description

Description of this employee.

string
<= 64 characters
targetBonus

Target bonus of this employee. Decimal string with up to 2 decimal places.

string
/^-?\d{1,13}(\.\d{1,2})?$/
Example
1250.00
address

Address details for this employee.

object
line1

First address line.

string
<= 41 characters
line2

Second address line.

string
<= 41 characters
city

City or locality.

string
<= 31 characters
state

State, province or region.

string
<= 21 characters
postalCode

Postal or ZIP code.

string
<= 13 characters
printAs

Print as of this employee.

string
<= 41 characters
phone

Main phone number.

string
<= 21 characters
mobile

Mobile of this employee.

string
<= 21 characters
pager

Pager of this employee.

string
<= 21 characters
pagerPin

Pager pin of this employee.

string
<= 10 characters
alternatePhone

Alternate phone number.

string
<= 21 characters
fax

Fax number.

string
<= 21 characters
ssn

Ssn of this employee.

string
<= 15 characters
email

Email address.

string
<= 1023 characters
customContactFields

Custom contact fields entries for this employee.

Array<object>

Fields for creating an additional contact ref.

object
name
required

Name of this additional contact ref, unique within its parent level.

string
<= 40 characters
value
required

Value.

string
<= 255 characters
emergencyContact

Emergency contact details for this employee.

object
primaryContact

Primary contact details for this emergency contacts.

object
name
required

Name of this primary contact, unique within its parent level.

string
<= 40 characters
value
required

Value.

string
<= 255 characters
relation

Relation of this primary contact.

string
Allowed values: spouse partner mother father sister brother son daughter friend other
secondaryContact

Secondary contact details for this emergency contacts.

object
name
required

Name of this secondary contact, unique within its parent level.

string
<= 40 characters
value
required

Value.

string
<= 255 characters
relation

Relation of this secondary contact.

string
Allowed values: spouse partner mother father sister brother son daughter friend other
employeeType

Employee type of this employee.

string
Allowed values: officer owner regular statutory
employmentStatus

Employment status of this employee.

string
Allowed values: part_time full_time
overtimeExemptStatus

Overtime exempt status of this employee.

string
Allowed values: exempt non_exempt
keyEmployeeStatus

Key employee status of this employee.

string
Allowed values: key_employee non_key_employee
gender

Gender of this employee.

string
Allowed values: male female
hiredDate

Hired date (YYYY-MM-DD).

string format: date
Example
2026-10-05
originalHireDate

Original hire date (YYYY-MM-DD).

string format: date
Example
2026-10-05
adjustedServiceDate

Adjusted service date (YYYY-MM-DD).

string format: date
Example
2026-10-05
terminationDate

Termination date (YYYY-MM-DD).

string format: date
Example
2026-10-05
birthDate

Birth date (YYYY-MM-DD).

string format: date
Example
2026-10-05
usCitizenshipStatus

Us citizenship status of this employee.

string
Allowed values: citizen non_citizen
ethnicity

Ethnicity of this employee.

string
Allowed values: american_indian asian black hawaiian hispanic white two_or_more_races
disabilityStatus

Disability status of this employee.

string
Allowed values: disabled non_disabled
disabilityDescription

Disability description of this employee.

string
<= 25 characters
i9OnFileStatus

I9 on file status of this employee.

string
Allowed values: on_file not_on_file
workAuthorizationExpirationDate

Work authorization expiration date (YYYY-MM-DD).

string format: date
Example
2026-10-05
usVeteranStatus

Us veteran status of this employee.

string
Allowed values: veteran non_veteran
militaryStatus

Military status of this employee.

string
Allowed values: active reserve
accountNumber

Account number for this employee.

string
<= 99 characters
note

Note for this employee.

string
<= 4095 characters
additionalNotes

Additional notes entries for this employee.

Array<object>

Fields for creating an additional notes.

object
note
required

Note for this additional notes.

string
<= 4095 characters
billingRateId

ID of the billing rate for this employee.

string
>= 1 characters <= 36 characters
Example
80000001-1234567890
employeePayroll

Employee payroll details for this employee.

object
payPeriod

Pay period of this employee payroll info.

string
Allowed values: daily weekly biweekly semimonthly monthly quarterly yearly
classId

ID of the class for this employee payroll info.

string
>= 1 characters <= 36 characters
Example
80000001-1234567890
deleteAllEarnings

Delete all earnings of this employee payroll info. Cannot be combined with earnings.

boolean
earnings

Earnings entries for this employee payroll info. Cannot be combined with deleteAllEarnings.

Array<object>

Fields for creating an earnings.

object
payrollWageItemId
required

ID of the payroll wage item for this earnings.

string
>= 1 characters <= 36 characters
Example
80000001-1234567890
rate

Price per unit, as a decimal string. Cannot be combined with ratePercent.

string
/^-?\d{1,10}(\.\d{1,5})?$/
Example
19.99
ratePercent

Price as a percentage, for percentage-based items. Percentage as a decimal string: “7.5” means 7.5 %. Cannot be combined with rate.

string
/^-?\d{1,10}(\.\d{1,5})?$/
Example
7.5
useTimeDataToCreatePaychecks

Use time data to create paychecks of this employee payroll info.

string
Allowed values: not_set uses_time_data does_not_use_time_data
sickHours

Sick hours details for this employee payroll info.

object
hoursAvailable

Hours available of this sick hours.

string
/^[+-]?PT(\d+H)?(\d+M)?(\d+S)?$/
Example
PT1H30M
accrualPeriod

Accrual period of this sick hours.

string
Allowed values: accrues_annually accrues_hourly accrues_per_paycheck
hoursAccruedPerPeriod

Hours accrued per period of this sick hours.

string
/^[+-]?PT(\d+H)?(\d+M)?(\d+S)?$/
Example
PT1H30M
maximumHours

Maximum hours of this sick hours.

string
/^[+-]?PT(\d+H)?(\d+M)?(\d+S)?$/
Example
PT1H30M
resetsHoursEachYear

Whether resets hours each year.

boolean
hoursUsed

Hours used of this sick hours.

string
/^[+-]?PT(\d+H)?(\d+M)?(\d+S)?$/
Example
PT1H30M
accrualStartDate

Accrual start date (YYYY-MM-DD).

string format: date
Example
2026-10-05
vacationHours

Vacation hours details for this employee payroll info.

object
hoursAvailable

Hours available of this vacation hours.

string
/^[+-]?PT(\d+H)?(\d+M)?(\d+S)?$/
Example
PT1H30M
accrualPeriod

Accrual period of this vacation hours.

string
Allowed values: accrues_annually accrues_hourly accrues_per_paycheck
hoursAccruedPerPeriod

Hours accrued per period of this vacation hours.

string
/^[+-]?PT(\d+H)?(\d+M)?(\d+S)?$/
Example
PT1H30M
maximumHours

Maximum hours of this vacation hours.

string
/^[+-]?PT(\d+H)?(\d+M)?(\d+S)?$/
Example
PT1H30M
resetsHoursEachYear

Whether resets hours each year.

boolean
hoursUsed

Hours used of this vacation hours.

string
/^[+-]?PT(\d+H)?(\d+M)?(\d+S)?$/
Example
PT1H30M
accrualStartDate

Accrual start date (YYYY-MM-DD).

string format: date
Example
2026-10-05
externalId

Your own UUID for this employee, stored by QuickBooks so you can match records with your system.

string format: uuid

The created employee.

Media typeapplication/json

Employee as stored in QuickBooks Desktop.

object
id
required

QuickBooks-assigned ID of this employee.

string
objectType
required

Type of this object.

string
Allowed values: qbd_employee
createdAt
required

When this employee was created, as an ISO 8601 date-time with the QuickBooks computer’s UTC offset.

string format: date-time
updatedAt
required

When this employee was last changed, as an ISO 8601 date-time with the QuickBooks computer’s UTC offset. Whole seconds: a second change within the same second keeps this value, so incremental syncs should overlap updatedAfter and deduplicate by id and revisionNumber.

string format: date-time
revisionNumber
required

Current revision of this employee. Send it unchanged when updating; a stale value is rejected. QuickBooks changes it at most once per second, so a second edit within the same second keeps the same value. This API spaces its own consecutive writes to one object by over a second; edits made elsewhere in the same second are not detected.

string
name
required

Name of this employee, unique within its parent level.

string | null
isActive
required

Whether this employee is active. Inactive objects stay in QuickBooks but are hidden from most lists.

boolean | null
salutation
required

Salutation such as Mr. or Dr.

string | null
firstName
required

First name.

string | null
middleName
required

Middle name or initial.

string | null
lastName
required

Last name.

string | null
jobTitle
required

Job title.

string | null
supervisor
required
Any of:

Reference to another QuickBooks object.

object
id
required

QuickBooks ID of the referenced object.

string | null
fullName
required

Full name of the referenced object at the time of the response.

string | null
department
required

Department of this employee.

string | null
description
required

Description of this employee.

string | null
targetBonus
required

Target bonus of this employee. Decimal string with up to 2 decimal places.

string | null
/^-?\d{1,13}(\.\d{1,2})?$/
address
required
Any of:

Employee address as stored in QuickBooks Desktop.

object
line1
required

First address line.

string | null
line2
required

Second address line.

string | null
city
required

City or locality.

string | null
state
required

State, province or region.

string | null
postalCode
required

Postal or ZIP code.

string | null
printAs
required

Print as of this employee.

string | null
phone
required

Main phone number.

string | null
mobile
required

Mobile of this employee.

string | null
pager
required

Pager of this employee.

string | null
pagerPin
required

Pager pin of this employee.

string | null
alternatePhone
required

Alternate phone number.

string | null
fax
required

Fax number.

string | null
ssn
required

Ssn of this employee.

string | null
email
required

Email address.

string | null
customContactFields
required

Custom contact fields entries for this employee.

Array<object>

Additional contact ref as stored in QuickBooks Desktop.

object
name
required

Name of this additional contact ref, unique within its parent level.

string | null
value
required

Value.

string | null
emergencyContact
required
Any of:

Emergency contacts as stored in QuickBooks Desktop.

object
primaryContact
required
Any of:

Primary contact as stored in QuickBooks Desktop.

object
name
required

Name of this primary contact, unique within its parent level.

string | null
value
required

Value.

string | null
relation
required

Relation of this primary contact.

string | null
Allowed values: spouse partner mother father sister brother son daughter friend other
secondaryContact
required
Any of:

Secondary contact as stored in QuickBooks Desktop.

object
name
required

Name of this secondary contact, unique within its parent level.

string | null
value
required

Value.

string | null
relation
required

Relation of this secondary contact.

string | null
Allowed values: spouse partner mother father sister brother son daughter friend other
employeeType
required

Employee type of this employee.

string | null
Allowed values: officer owner regular statutory
employmentStatus
required

Employment status of this employee.

string | null
Allowed values: part_time full_time
overtimeExemptStatus
required

Overtime exempt status of this employee.

string | null
Allowed values: exempt non_exempt
keyEmployeeStatus
required

Key employee status of this employee.

string | null
Allowed values: key_employee non_key_employee
gender
required

Gender of this employee.

string | null
Allowed values: male female
hiredDate
required

Hired date (YYYY-MM-DD).

string | null format: date
originalHireDate
required

Original hire date (YYYY-MM-DD).

string | null format: date
adjustedServiceDate
required

Adjusted service date (YYYY-MM-DD).

string | null format: date
terminationDate
required

Termination date (YYYY-MM-DD).

string | null format: date
birthDate
required

Birth date (YYYY-MM-DD).

string | null format: date
usCitizenshipStatus
required

Us citizenship status of this employee.

string | null
Allowed values: citizen non_citizen
ethnicity
required

Ethnicity of this employee.

string | null
Allowed values: american_indian asian black hawaiian hispanic white two_or_more_races
disabilityStatus
required

Disability status of this employee.

string | null
Allowed values: disabled non_disabled
disabilityDescription
required

Disability description of this employee.

string | null
i9OnFileStatus
required

I9 on file status of this employee.

string | null
Allowed values: on_file not_on_file
workAuthorizationExpirationDate
required

Work authorization expiration date (YYYY-MM-DD).

string | null format: date
usVeteranStatus
required

Us veteran status of this employee.

string | null
Allowed values: veteran non_veteran
militaryStatus
required

Military status of this employee.

string | null
Allowed values: active reserve
accountNumber
required

Account number for this employee.

string | null
note
required

Note for this employee.

string | null
additionalNotes
required

Additional notes entries for this employee.

Array<object>

Additional notes as stored in QuickBooks Desktop.

object
id
required

QuickBooks-assigned ID of this additional notes.

integer | null
date
required

Date (YYYY-MM-DD).

string | null format: date
note
required

Note for this additional notes.

string | null
billingRate
required
Any of:

Reference to another QuickBooks object.

object
id
required

QuickBooks ID of the referenced object.

string | null
fullName
required

Full name of the referenced object at the time of the response.

string | null
employeePayroll
required
Any of:

Employee payroll info as stored in QuickBooks Desktop.

object
payPeriod
required

Pay period of this employee payroll info.

string | null
Allowed values: daily weekly biweekly semimonthly monthly quarterly yearly
class
required
Any of:

Reference to another QuickBooks object.

object
id
required

QuickBooks ID of the referenced object.

string | null
fullName
required

Full name of the referenced object at the time of the response.

string | null
deleteAllEarnings
required

Delete all earnings of this employee payroll info.

boolean | null
earnings
required

Earnings entries for this employee payroll info.

Array<object>

Earnings as stored in QuickBooks Desktop.

object
payrollWageItem
required
Any of:

Reference to another QuickBooks object.

object
id
required

QuickBooks ID of the referenced object.

string | null
fullName
required

Full name of the referenced object at the time of the response.

string | null
rate
required

Price per unit, as a decimal string.

string | null
/^-?\d{1,10}(\.\d{1,5})?$/
ratePercent
required

Price as a percentage, for percentage-based items. Percentage as a decimal string: “7.5” means 7.5 %.

string | null
/^-?\d{1,10}(\.\d{1,5})?$/
useTimeDataToCreatePaychecks
required

Use time data to create paychecks of this employee payroll info.

string | null
Allowed values: not_set uses_time_data does_not_use_time_data
sickHours
required
Any of:

Sick hours as stored in QuickBooks Desktop.

object
hoursAvailable
required

Hours available of this sick hours.

string | null
accrualPeriod
required

Accrual period of this sick hours.

string | null
Allowed values: accrues_annually accrues_hourly accrues_per_paycheck
hoursAccruedPerPeriod
required

Hours accrued per period of this sick hours.

string | null
maximumHours
required

Maximum hours of this sick hours.

string | null
resetsHoursEachYear
required

Whether resets hours each year.

boolean | null
hoursUsed
required

Hours used of this sick hours.

string | null
accrualStartDate
required

Accrual start date (YYYY-MM-DD).

string | null format: date
vacationHours
required
Any of:

Vacation hours as stored in QuickBooks Desktop.

object
hoursAvailable
required

Hours available of this vacation hours.

string | null
accrualPeriod
required

Accrual period of this vacation hours.

string | null
Allowed values: accrues_annually accrues_hourly accrues_per_paycheck
hoursAccruedPerPeriod
required

Hours accrued per period of this vacation hours.

string | null
maximumHours
required

Maximum hours of this vacation hours.

string | null
resetsHoursEachYear
required

Whether resets hours each year.

boolean | null
hoursUsed
required

Hours used of this vacation hours.

string | null
accrualStartDate
required

Accrual start date (YYYY-MM-DD).

string | null format: date
externalId
required

Your own UUID for this employee, stored by QuickBooks so you can match records with your system.

string | null format: uuid
customFields
required

Custom field values QuickBooks stores on this employee.

Array<object>

Custom field as stored in QuickBooks Desktop.

object
ownerId
required

Owner of the custom field: “0” for public fields shown in the QuickBooks UI.

string | null
name
required

Name of this custom field, unique within its parent level.

string | null
type
required

Type.

string | null
Allowed values: amount_type date_time_type integer_type percent_type price_type quantity_type string_1024_type string_255_type
value
required

Value.

string | null
Example
{
"objectType": "qbd_employee",
"createdAt": "2026-10-05T09:14:03-07:00",
"updatedAt": "2026-10-05T09:14:03-07:00",
"targetBonus": "1250.00",
"emergencyContact": {
"primaryContact": {
"relation": "spouse"
},
"secondaryContact": {
"relation": "spouse"
}
},
"employeeType": "officer",
"employmentStatus": "part_time",
"overtimeExemptStatus": "exempt",
"keyEmployeeStatus": "key_employee",
"gender": "male",
"hiredDate": "2026-10-05",
"originalHireDate": "2026-10-05",
"adjustedServiceDate": "2026-10-05",
"terminationDate": "2026-10-05",
"birthDate": "2026-10-05",
"usCitizenshipStatus": "citizen",
"ethnicity": "american_indian",
"disabilityStatus": "disabled",
"i9OnFileStatus": "on_file",
"workAuthorizationExpirationDate": "2026-10-05",
"usVeteranStatus": "veteran",
"militaryStatus": "active",
"additionalNotes": [
{
"date": "2026-10-05"
}
],
"employeePayroll": {
"payPeriod": "daily",
"earnings": [
{
"rate": "19.99",
"ratePercent": "7.5"
}
],
"useTimeDataToCreatePaychecks": "not_set",
"sickHours": {
"accrualPeriod": "accrues_annually",
"accrualStartDate": "2026-10-05"
},
"vacationHours": {
"accrualPeriod": "accrues_annually",
"accrualStartDate": "2026-10-05"
}
},
"customFields": [
{
"type": "amount_type"
}
]
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Accepted in async mode (Prefer: respond-async). Poll Location or wait for a webhook; the request’s result holds the success body.

Media typeapplication/json
object
id
required

Unique identifier for the request.

string
/^req_[0-9a-hjkmnp-tv-z]{26}$/
objectType
required

Always request.

string
Allowed values: request
createdAt
required

When the request was received. UTC, ISO 8601 with milliseconds.

string format: date-time
projectId
required

Unique identifier for the project.

string
/^proj_[0-9a-hjkmnp-tv-z]{26}$/
endUserId
required

Unique identifier for the end user.

string
/^eu_[0-9a-hjkmnp-tv-z]{26}$/
connectionId
required

The connection that carried the request; null when the call was rejected before the end user had a connection (no setup link created yet).

string | null
/^conn_[0-9a-hjkmnp-tv-z]{26}$/
operationId
required

The API operation, for example endUsers.passthrough or qbd.healthCheck.

string
method
required

HTTP method of the original call.

string
path
required

Path of the original call.

string
mode
required

sync when the caller waited for the result.

string
Allowed values: sync async
status
required

queued: accepted and waiting for its turn or the next Web Connector check-in. waiting_for_connection: async request waiting for an offline connection. sent: handed to QuickBooks; it can no longer be canceled. If the connector of a sent write goes silent, its outcome is unknown and its error explains the silence while the session remains open. succeeded and failed are final. canceled: canceled before it was sent. outcome_unknown: a write was sent and its result could not be confirmed.

string
Allowed values: queued waiting_for_connection sent succeeded failed canceled outcome_unknown
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
sentAt
required

When the request was last handed to the Web Connector. UTC, ISO 8601. A read the server queued again for its automatic retry keeps the time of its earlier send, so null always means it never reached the Web Connector.

string | null
completedAt
required

When the request reached a final status. UTC, ISO 8601.

string | null
durationMs
required

Milliseconds from creation to completion.

integer | null
idempotencyKeyPresent
required

Whether the call sent an Idempotency-Key.

boolean
previousRequestId
required

An earlier request with the same Idempotency-Key that ended before reaching QuickBooks.

string | null
waitingReason
required

Why a queued request is waiting. connector_silent: an earlier write was sent and its connector stopped calling; diagnosis names the request, send time and connectorSilentSince. Its outcome is unknown; never automatically retry it. quickbooks_not_responding: the Web Connector started a session but QuickBooks has not answered it (usually a QuickBooks dialog is open; see diagnosis). file_mode_conflict: the company file was held in single-user mode or by another program; the connection opens QuickBooks again at the retryAt of the file_mode_conflict diagnosis cause, and the request runs then unless its deadline or queue TTL expires first. null once the request was sent.

string | null
Allowed values: awaiting_check_in behind_other_requests opening_company_file quickbooks_starting connector_offline quickbooks_unavailable quickbooks_not_responding write_recovery_pending file_mode_conflict connector_silent
queuePosition
required

Position in this connection’s queue (1 = next), while queued.

integer | null
queueTtlExpiresAt
required

Async requests only: the latest time the request may still be sent. UTC, ISO 8601.

string | null
timings
required

Where the time went.

object
queuedMs
required

Milliseconds from creation until the request was sent to QuickBooks.

integer | null
quickbooksMs
required

Milliseconds from sending until QuickBooks answered.

integer | null
totalMs
required

Milliseconds from creation to completion.

integer | null
quickbooks
required

Native QuickBooks details.

object
qbxmlVersion
required

QbXML version used.

string | null
messageSetId
required

QbXML newMessageSetID sent with a write.

string | null
statusCode
required

QbXML statusCode of the first response element.

integer | null
statusSeverity
required

QbXML statusSeverity (Info, Warn or Error).

string | null
warnings
required

QuickBooks warnings (statusSeverity="Warn"), values the API read leniently from a damaged company file, and personal-data fields QuickBooks did not share. The response body never drops a record for these; affected values are null.

Array<object>
object
code
required

QBD_WARNING for a QuickBooks warning status; QBD_VALUE_UNREADABLE when a value in the response was garbled and is returned as null; QBD_MARKUP_REPAIRED when malformed XML text was kept as text; QBD_PERSONAL_DATA_WITHHELD when QuickBooks did not share a personal-data field (an employee’s ssn) because the integration may not access personal data; the value is null whether or not the file has one. Each code is described on the error reference page under Warnings.

string
Allowed values: QBD_WARNING QBD_DELETE_NOT_VERIFIED QBD_VALUE_UNREADABLE QBD_MARKUP_REPAIRED QBD_PERSONAL_DATA_WITHHELD
statusCode
required

QbXML statusCode of a QuickBooks warning; null for warnings about the response data.

integer | null
message
required

What happened, including the text QuickBooks sent for unreadable values.

string
path
required

Where in result the affected value is, such as data[2].lines[0].amount; null for QuickBooks warning statuses.

string | null
recovered
required

true when an outcome_unknown write was resolved by recovery: from QuickBooks’ stored result for the write, or by reconciliation, which found the object by its externalId (then recoveredObjectId names it).

boolean
recoveredObjectId
required

When the platform recovered this write after a lost acknowledgement, the id of the object QuickBooks created or changed, found by reconciliation; null otherwise. QuickBooks’ response body to such a write was never received, so for a single write result stays null: retrieve the object by this id. For a typed batch, each create member carries its own recoveredObjectId in result, and this field holds the first write member’s.

string | null
timeline
required

Lifecycle steps in order.

Array<object>
object
at
required

When the step happened. UTC, ISO 8601 with milliseconds.

string format: date-time
status
required

Step, usually a status (queued, waiting, sent, succeeded, diagnosed, …).

string
detail
required

Extra detail, for example the waiting reason or diagnosis cause.

string | null
elapsedMs
required

Milliseconds since the request was created.

integer
diagnosis
required
Any of:

Why a request is waiting, or why it timed out or expired. The server cannot see the end user’s screen; it ranks causes from Web Connector check-ins, whether QuickBooks answered, native connection errors, the company file identity and the queue.

object
at
required

When the diagnosis was made. UTC, ISO 8601 with milliseconds.

string format: date-time
summary
required

The most likely cause in one line.

string
connector
required

What the server observed about the end user’s Web Connector.

object
lastSeenAt
required

Last sign of the Web Connector (a check-in or a call inside a session). UTC, ISO 8601.

string | null
lastCheckInAt
required

Last Web Connector check-in. UTC, ISO 8601.

string | null
checkInIntervalSeconds
required

Typical interval between recent check-ins, in seconds.

integer | null
silentForSeconds
required

Seconds since lastSeenAt.

integer | null
sessionOpen
required

Whether a Web Connector session is open now.

boolean
sessionOpenedAt
required

When the open session started. UTC, ISO 8601.

string | null
quickbooksAnswered
required

Whether QuickBooks answered the open session; null without a session.

boolean | null
silentSessions
required

Recent consecutive sessions in which QuickBooks never answered.

integer
lastConnectionErrorCode
required

Error code of the latest QuickBooks connection error, while it persists.

string | null
probableCauses
required

Probable causes, most likely first.

Array<object>
object
code
required

Stable cause code. New codes may be added.

string
Allowed values: customer_merge_native_refusal quickbooks_modal_dialog web_connector_registration_lost quickbooks_starting other_web_connector_app web_connector_closed quickbooks_closed_unexpectedly computer_offline web_connector_schedule_changed quickbooks_closed_no_unattended_access quickbooks_unavailable file_mode_conflict wrong_company_file company_file_not_found quickbooks_reauthorization_required write_recovery_pending connector_silent behind_other_requests quickbooks_processing session_interrupted same_connector_two_computers record_in_use awaiting_check_in
likelihood
required

How strongly the observations point at this cause.

string
Allowed values: high medium low
summary
required

One-line description of the cause.

string
explanation
required

What the server observed and why it points at this cause.

string
fixes
required

Actions that resolve the cause, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
details
required

Cause-specific observations, for example connectionErrorCode or silentForMs.

object
key
additional properties
docsUrl
required

Troubleshooting section for this cause.

string format: uri
error
required
Any of:
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
result

The response body the original call returned (or would have returned) on success; null otherwise. Also null (with resultExpired: false) for a single write recovered by reconciliation, whose response body QuickBooks never delivered; recoveredObjectId names the object. A typed batch recovered that way returns its batch response, each found create member with data: null and its own recoveredObjectId.

resultExpired
required

true when the result existed but is past the payload retention period (15 days, or 24 hours with payload capture off).

boolean
Example
{
"id": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"objectType": "request",
"createdAt": "2026-10-05T16:03:59.002Z",
"projectId": "proj_01j9x4m6v4c8k2t7q0r5s3w1zf",
"endUserId": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb",
"connectionId": "conn_01j9x4m6v4c8k2t7q0r5s3w1zc",
"operationId": "qbd.healthCheck",
"method": "GET",
"path": "/v1/quickbooks-desktop/health-check",
"mode": "sync",
"status": "queued",
"outcome": "applied",
"waitingReason": "awaiting_check_in",
"warnings": [
{
"code": "QBD_WARNING"
}
],
"recoveredObjectId": null,
"timeline": [
{
"at": "2026-10-05T16:03:59.002Z"
}
],
"diagnosis": {
"at": "2026-10-05T16:03:59.002Z",
"summary": "QuickBooks Desktop probably has a dialog window open.",
"probableCauses": [
{
"code": "customer_merge_native_refusal",
"likelihood": "high",
"fixes": [
{
"actor": "developer"
}
]
}
]
},
"error": {
"type": "INTEGRATION_CONNECTION_ERROR",
"code": "QBD_MODAL_DIALOG_OPEN",
"message": "QuickBooks Desktop has a dialog window open, so it could not accept the request.",
"userFacingMessage": "QuickBooks Desktop has a window open that needs attention. Close any open QuickBooks dialog on the computer that runs QuickBooks, then try again.",
"httpStatusCode": 503,
"integrationCode": "0x80040414",
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "A modal dialog (for example a backup reminder or an update prompt) blocks every integrated application until someone closes it.",
"fixes": [
{
"actor": "end_user",
"action": "Close the open dialog in QuickBooks Desktop on the host computer."
},
{
"actor": "developer",
"action": "Retry after the end user confirms; reads can be retried automatically."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#qbd_modal_dialog_open",
"retryable": true,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Location
string

Path of the request resource, /v1/requests/{id}.

Preference-Applied
string

respond-async when async mode was honored.

The request is invalid. Codes: UNKNOWN_HEADER, END_USER_ID_MISSING, INVALID_PARAMETER, UNKNOWN_PARAMETER, INVALID_JSON, DECIMAL_PRECISION_EXCEEDED, STRING_TOO_LONG, UNSUPPORTED_CHARACTER, FIELD_NOT_CLEARABLE, IDEMPOTENCY_KEY_INVALID.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

400 UNKNOWN_HEADER

{
"error": {
"type": "INVALID_REQUEST_ERROR",
"code": "UNKNOWN_HEADER",
"message": "The request contains an unknown Daapi-* header.",
"userFacingMessage": "This action could not be completed. Please contact the application provider.",
"httpStatusCode": 400,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "Unknown Daapi-* headers are rejected so that a typo does not silently fall back to a default.",
"fixes": [
{
"actor": "developer",
"action": "Check the header name named in `param` against the header reference."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#unknown_header",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

The API key is missing or invalid. Codes: API_KEY_MISSING, API_KEY_INVALID.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

401 API_KEY_MISSING

{
"error": {
"type": "AUTHENTICATION_ERROR",
"code": "API_KEY_MISSING",
"message": "No API key was provided. Send Authorization: Bearer <secret key>.",
"userFacingMessage": "This action is not available right now. Please contact the application provider.",
"httpStatusCode": 401,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "The Authorization header is missing or is not a Bearer token.",
"fixes": [
{
"actor": "developer",
"action": "Send Authorization: Bearer sk_live_... (or sk_test_...) from your server."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#api_key_missing",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

Billing blocks production data requests. Codes: BILLING_REQUIRED, PAYMENT_FAILED.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

402 BILLING_REQUIRED

{
"error": {
"type": "BILLING_ERROR",
"code": "BILLING_REQUIRED",
"message": "Production data requests are paused because the organization has no active subscription.",
"userFacingMessage": "This action is not available right now. Please contact the application provider.",
"httpStatusCode": 402,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "The organization's 30-day production trial ended without a subscription, or its subscription ended. Health checks, auth sessions, end users, setup and test projects keep working.",
"fixes": [
{
"actor": "developer",
"action": "An organization owner starts a subscription on the dashboard's Billing page (`details.billingUrl`). Production requests work again within a minute."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#billing_required",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

The operation is not permitted. Codes: INTEGRATION_CONNECTION_DISABLED, PERMISSION_DENIED, QBD_INSUFFICIENT_PERMISSION, API_KEY_READ_ONLY.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

403 INTEGRATION_CONNECTION_DISABLED

{
"error": {
"type": "INTEGRATION_CONNECTION_ERROR",
"code": "INTEGRATION_CONNECTION_DISABLED",
"message": "This connection is disabled.",
"userFacingMessage": "This QuickBooks connection is turned off. Please contact the application provider.",
"httpStatusCode": 403,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "The connection was disabled in the dashboard.",
"fixes": [
{
"actor": "developer",
"action": "Enable the connection in the dashboard, or create a new auth session."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#integration_connection_disabled",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

The object does not exist in this project. Codes: RESOURCE_MISSING.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples
ExampleRESOURCE_MISSING

404 RESOURCE_MISSING

{
"error": {
"type": "INVALID_REQUEST_ERROR",
"code": "RESOURCE_MISSING",
"message": "No such object exists in this project.",
"userFacingMessage": "This action could not be completed. Please contact the application provider.",
"httpStatusCode": 404,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "The ID does not exist, was deleted, or belongs to another project.",
"fixes": [
{
"actor": "developer",
"action": "Check the ID and that the secret key belongs to the project that owns the object."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#resource_missing",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

The request conflicts with the current state. Codes: INTEGRATION_CONNECTION_NOT_SET_UP, QBD_COMPANY_FILE_MISMATCH, QBD_DUPLICATE_NAME, QBD_OBJECT_IN_USE.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

409 INTEGRATION_CONNECTION_NOT_SET_UP

{
"error": {
"type": "INTEGRATION_CONNECTION_ERROR",
"code": "INTEGRATION_CONNECTION_NOT_SET_UP",
"message": "This end user has not finished connecting QuickBooks Desktop.",
"userFacingMessage": "QuickBooks Desktop is not connected yet. Finish the connection setup to continue.",
"httpStatusCode": 409,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "No Web Connector has completed setup for this end user.",
"fixes": [
{
"actor": "developer",
"action": "Create an auth session and send the end user its authFlowUrl."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#integration_connection_not_set_up",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

The request body is too large. Codes: PAYLOAD_TOO_LARGE.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples
ExamplePAYLOAD_TOO_LARGE

413 PAYLOAD_TOO_LARGE

{
"error": {
"type": "INVALID_REQUEST_ERROR",
"code": "PAYLOAD_TOO_LARGE",
"message": "The request body is larger than 20 MiB.",
"userFacingMessage": "This action could not be completed. Please contact the application provider.",
"httpStatusCode": 413,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "Request bodies are capped at 20 MiB.",
"fixes": [
{
"actor": "developer",
"action": "Split the work into several smaller requests."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#payload_too_large",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

The request is well formed but cannot be processed. Codes: SAMPLE_COMPANY_UNSUPPORTED, QBD_FIELD_UNSUPPORTED_BY_VERSION, QBD_REGION_UNSUPPORTED, QBD_REQUEST_ERROR, QBD_FEATURE_NOT_ENABLED, IDEMPOTENCY_KEY_REUSED, QBD_REFERENCE_NOT_FOUND.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

422 SAMPLE_COMPANY_UNSUPPORTED

{
"error": {
"type": "INVALID_REQUEST_ERROR",
"code": "SAMPLE_COMPANY_UNSUPPORTED",
"message": "The sample company has no recorded answer for this request (CustomerAddRq). The sample company is read-only: it answers queries and refuses every add, modify, delete and void.",
"userFacingMessage": "The sample company does not support this action. Please contact the application provider.",
"httpStatusCode": 422,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "The sample company answers from recordings of real QuickBooks Desktop, and only the requests those recordings cover. This request, or the part of it named in `details.element`, has no recording, so it is refused. Nothing changes. The message names the element and, for many refusals, says what works.",
"fixes": [
{
"actor": "developer",
"action": "The message often says what works. To test anything else, connect a real company file."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#sample_company_unsupported",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {
"reason": "write",
"element": "CustomerAddRq",
"detail": "The sample company is read-only: it answers queries and refuses every add, modify, delete and void."
}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

Too many requests. Codes: RATE_LIMITED, CONNECTION_QUEUE_FULL.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

429 RATE_LIMITED

{
"error": {
"type": "RATE_LIMIT_ERROR",
"code": "RATE_LIMITED",
"message": "Too many requests for this project. Retry after the time in Retry-After.",
"userFacingMessage": "Too many actions are in progress. Please try again in a moment.",
"httpStatusCode": 429,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "The project exceeded its request rate across all keys, or too many requests (including ones with invalid keys) came from one IP address. `details.scope` says which limit applied.",
"fixes": [
{
"actor": "developer",
"action": "Retry after the Retry-After interval and spread requests over time. Read the RateLimit-* headers to stay under the limit."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#rate_limited",
"retryable": true,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

Unexpected server error. Codes: INTERNAL_ERROR.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples
ExampleINTERNAL_ERROR

500 INTERNAL_ERROR

{
"error": {
"type": "INTERNAL_ERROR",
"code": "INTERNAL_ERROR",
"message": "An unexpected error occurred on our side.",
"userFacingMessage": "Something went wrong. Please try again in a moment.",
"httpStatusCode": 500,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "An unexpected server error. `outcome` says whether a write may have reached QuickBooks. With `details.reason` `result_unavailable`, the request completed but its stored result is no longer available (for example an idempotent replay after the result's retention period); for a write, `outcome` is `applied`: QuickBooks saved the change.",
"fixes": [
{
"actor": "developer",
"action": "Retry reads. For writes, check `outcome` first and never resend when it is unknown."
},
{
"actor": "developer",
"action": "With `result_unavailable` on a write, do not send it again: retrieve or list the object to read it. On a read, send the query again."
},
{
"actor": "support",
"action": "Contact support with the requestId."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#internal_error",
"retryable": false,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

The result could not be confirmed. Codes: QBD_READ_INTERRUPTED, QBD_WRITE_OUTCOME_UNKNOWN.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

502 QBD_READ_INTERRUPTED

{
"error": {
"type": "INTEGRATION_CONNECTION_ERROR",
"code": "QBD_READ_INTERRUPTED",
"message": "The connection to QuickBooks broke while reading; the automatic retry also failed.",
"userFacingMessage": "The connection to QuickBooks Desktop was interrupted. Please try again.",
"httpStatusCode": 502,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "The read was sent to QuickBooks, which did not return its result: the Web Connector session ended, or QuickBooks returned an error instead of a response (for example HRESULT 0x80040402 when QuickBooks closed unexpectedly). The server sends an interrupted read once more; this code means that retry was interrupted too, or was not sent before the deadline or queue TTL (`details.retry`). Reads change nothing, so retrying is safe. `details.diagnosis` says what the server observed when the retry did not go out.",
"fixes": [
{
"actor": "developer",
"action": "Retry the read. If `details.diagnosis` ranks quickbooks_closed_unexpectedly first, ask the end user to restart the Web Connector and QuickBooks first."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#qbd_read_interrupted",
"retryable": true,
"outcome": "not_applicable",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

QuickBooks Desktop or the service is not available. Codes: SERVICE_UNAVAILABLE, INTEGRATION_CONNECTION_NOT_ACTIVE, QBD_CONNECTION_ERROR, QBD_CANNOT_START, QBD_STARTING, QBD_MODAL_DIALOG_OPEN, QBD_QUICKBOOKS_NOT_RESPONDING, QBD_WRONG_COMPANY_FILE_OPEN, QBD_COMPANY_FILE_NOT_FOUND, QBD_FILE_MODE_CONFLICT, QBD_ADMIN_REQUIRED, QBD_ACCESS_NOT_GRANTED, QBD_REAUTHORIZATION_REQUIRED, QBD_VERSION_UNSUPPORTED.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

503 SERVICE_UNAVAILABLE

{
"error": {
"type": "INTERNAL_ERROR",
"code": "SERVICE_UNAVAILABLE",
"message": "The service is temporarily unavailable. The request was not queued.",
"userFacingMessage": "Something went wrong. Please try again in a moment.",
"httpStatusCode": 503,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "A dependency was unavailable before the request was accepted. Nothing reached QuickBooks.",
"fixes": [
{
"actor": "developer",
"action": "Retry with backoff."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#service_unavailable",
"retryable": true,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.

The request timed out. Codes: REQUEST_TIMEOUT_NOT_SENT, QBD_REQUEST_TIMEOUT.

Media typeapplication/json
object
error
required
object
type
required

Error category. Use it to choose between retrying, fixing the request and asking the end user to act.

string
Allowed values: INVALID_REQUEST_ERROR AUTHENTICATION_ERROR PERMISSION_ERROR BILLING_ERROR RATE_LIMIT_ERROR INTEGRATION_CONNECTION_ERROR INTEGRATION_ERROR OUTCOME_UNKNOWN_ERROR INTERNAL_ERROR
code
required

Stable error code from the error catalog. New codes may be added; a code’s meaning never changes.

string
Allowed values: INVALID_JSON INVALID_PARAMETER UNKNOWN_PARAMETER UNKNOWN_HEADER DECIMAL_PRECISION_EXCEEDED STRING_TOO_LONG UNSUPPORTED_CHARACTER FIELD_NOT_CLEARABLE END_USER_ID_MISSING PAYLOAD_TOO_LARGE IDEMPOTENCY_KEY_INVALID IDEMPOTENCY_KEY_REUSED CURSOR_INVALID CURSOR_PARAMS_MISMATCH CURSOR_EXPIRED RESOURCE_MISSING ROUTE_NOT_FOUND REQUEST_NOT_CANCELABLE COMPANY_FILE_RESET_BUSY PASSTHROUGH_INVALID_QBXML QBD_FIELD_UNSUPPORTED_BY_VERSION QBD_REGION_UNSUPPORTED API_KEY_MISSING API_KEY_INVALID PUBLISHABLE_KEY_INVALID PUBLISHABLE_KEY_PROJECT_MISMATCH TEST_COMPANY_FILE_LIMIT_REACHED API_KEY_READ_ONLY PERMISSION_DENIED BILLING_REQUIRED PAYMENT_FAILED RATE_LIMITED CONNECTION_QUEUE_FULL WEBHOOK_ENDPOINT_LIMIT_REACHED CHANGE_FEED_SUBSCRIPTION_LIMIT_REACHED WEB_CONNECTOR_INSTALL_LIMIT_REACHED INTEGRATION_CONNECTION_NOT_SET_UP INTEGRATION_CONNECTION_NOT_ACTIVE INTEGRATION_CONNECTION_DISABLED QBD_CONNECTION_ERROR QBD_CANNOT_START QBD_STARTING QBD_MODAL_DIALOG_OPEN QBD_QUICKBOOKS_NOT_RESPONDING QBD_WRONG_COMPANY_FILE_OPEN QBD_COMPANY_FILE_MISMATCH QBD_COMPANY_FILE_NOT_FOUND QBD_MERGE_NOT_ALLOWED QBD_REQUIRES_SINGLE_USER_MODE QBD_FILE_MODE_CONFLICT QBD_ADMIN_REQUIRED QBD_ACCESS_NOT_GRANTED QBD_REAUTHORIZATION_REQUIRED QBD_VERSION_UNSUPPORTED QBD_REQUEST_ERROR QBD_OBJECT_NOT_FOUND QBD_REFERENCE_NOT_FOUND QBD_SALES_TAX_THROUGH_DATE_TOO_EARLY QBD_DUPLICATE_NAME QBD_REVISION_NUMBER_STALE QBD_OBJECT_IN_USE QBD_TRANSIENT_ERROR QBD_FEATURE_NOT_ENABLED QBD_INSUFFICIENT_PERMISSION QBD_RESPONSE_TOO_LARGE QBD_OPERATION_UNSUPPORTED SAMPLE_COMPANY_UNSUPPORTED QBD_RESPONSE_UNAVAILABLE QBD_RESPONSE_UNREADABLE REQUEST_TIMEOUT_NOT_SENT REQUEST_EXPIRED REQUEST_CANCELED QBD_REQUEST_TIMEOUT QBD_WRITE_OUTCOME_UNKNOWN QBD_REQUEST_NOT_PROCESSED QBD_READ_INTERRUPTED INTERNAL_ERROR SERVICE_UNAVAILABLE
message
required

Developer-facing explanation. May include IDs and field paths; never includes secrets.

string
userFacingMessage
required

A message that is safe to show to the end user.

string
httpStatusCode
required

HTTP status of the response. Every code defines one; on a request resource it is the status a synchronous call returns for the same error (for example 409 for REQUEST_CANCELED, 504 for REQUEST_EXPIRED). Nullable for compatibility only.

integer | null
integrationCode
required

Native QuickBooks code when one exists: a qbXML statusCode ("3200"), an HRESULT ("0x80040414") or a Web Connector code.

string | null
requestId
required

The Daapi-Request-Id of this response. Include it when contacting support.

string
cause
required

Why this error happens.

string
fixes
required

Ordered actions that resolve the error, each with the responsible actor.

Array<object>
object
actor
required

Who can apply the fix.

string
Allowed values: developer end_user support
action
required

What to do.

string
docsUrl
required

Documentation section for this code.

string format: uri
retryable
required

Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the Daapi-Should-Retry header.

boolean
outcome
required

Whether a write took effect: applied (QuickBooks confirmed it), not_applied (it certainly did not happen), pending (sent, still processing), unknown (sent, result could not be confirmed) or not_applicable (a read).

string
Allowed values: applied not_applied pending unknown not_applicable
param
required

Request field, query parameter or header the error refers to, when known.

string | null
details
required

Code-specific details, documented per code in the error catalog.

object
key
additional properties
Examples

504 REQUEST_TIMEOUT_NOT_SENT

{
"error": {
"type": "INTEGRATION_CONNECTION_ERROR",
"code": "REQUEST_TIMEOUT_NOT_SENT",
"message": "The request timed out before it was sent to QuickBooks and was canceled.",
"userFacingMessage": "QuickBooks Desktop was not available in time. Please try again.",
"httpStatusCode": 504,
"integrationCode": null,
"requestId": "req_01j9x4m6v4c8k2t7q0r5s3w1zd",
"cause": "The Web Connector did not pick up the request within Daapi-Timeout-Seconds. Nothing reached QuickBooks. `details.diagnosis` lists the probable causes the server observed (for example a QuickBooks dialog left open, or the Web Connector not running).",
"fixes": [
{
"actor": "developer",
"action": "Retry with the same Idempotency-Key, or use a longer Daapi-Timeout-Seconds."
},
{
"actor": "end_user",
"action": "Make sure the computer running QuickBooks is on and the Web Connector is running."
}
],
"docsUrl": "https://www.desktopaccountingapi.com/docs/errors/#request_timeout_not_sent",
"retryable": true,
"outcome": "not_applied",
"param": null,
"details": {}
}
}
Daapi-Request-Id
string

Unique ID of this API call (req_...). Present on every response.

RateLimit-Limit
integer

Requests allowed per window for the project (all keys together).

RateLimit-Remaining
integer

Requests left in the current window, as counted by the edge location that served this call.

RateLimit-Reset
integer

Seconds until the current window resets.

Daapi-Should-Retry
string
Allowed values: true false

true when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.

Retry-After
integer

Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.